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:
parent
5bd24f7242
commit
550eb91ae2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user