Fixed missing usage of x during Layout.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2006-03-24 07:19:45 +00:00
parent 5bd24f7242
commit 550eb91ae2

View File

@ -997,7 +997,7 @@ bool wxHVScrolledWindow::Layout()
y = -GetRowsHeight(0, GetVisibleRowsBegin());
x = -GetColumnsWidth(0, GetVisibleColumnsBegin());
GetVirtualSize(&w, &h);
GetSizer()->SetDimension(0, y, w, h);
GetSizer()->SetDimension(x, y, w, h);
return true;
}