X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bc6f7a06c494917409bbb673526f090bc51d2d2..0739e2eef923040b51c664a22c7a6765fbd8a6f1:/src/generic/vscroll.cpp diff --git a/src/generic/vscroll.cpp b/src/generic/vscroll.cpp index d3eb9a3e5f..cee98cef45 100644 --- a/src/generic/vscroll.cpp +++ b/src/generic/vscroll.cpp @@ -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; }