Fix for bug #4317. Changed SetPosition() to call AdjustChildWidgets() with

"this" as the second parameter instead of the scrolled view
This commit is contained in:
troy%netscape.com 1999-03-28 05:25:07 +00:00
parent ad325a51d0
commit f349e95f64

View File

@ -541,7 +541,7 @@ NS_IMETHODIMP nsScrollingView :: SetPosition(nscoord aX, nscoord aY)
if (scrolledView)
{
// Adjust the positions of the scrollbars and clip view's widget
AdjustChildWidgets(this, scrolledView, 0, 0, t2p);
AdjustChildWidgets(this, this, 0, 0, t2p);
}
if (nsnull != thiswin)