From 550eb91ae219cea147de926940055815904bd4ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 24 Mar 2006 07:19:45 +0000 Subject: [PATCH] Fixed missing usage of x during Layout. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/vscroll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.45.2