From 2b43d5885d32e38f89814eec6c97cc2141458137 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 13 Feb 2005 13:44:08 +0000 Subject: [PATCH] Comment out line that set the VirtualSizeHints() upon calling SetScrollbars(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/scrlwing.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index f5a5e0d8b1..c78ebc0fa7 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -360,8 +360,7 @@ void wxScrollHelper::SetScrollbars(int pixelsPerUnitX, // For better backward compatibility we set persisting limits // here not just the size. It makes SetScrollbars 'sticky' // emulating the old non-autoscroll behaviour. - - m_targetWindow->SetVirtualSizeHints( w, h ); + // m_targetWindow->SetVirtualSizeHints( w, h ); // The above should arguably be deprecated, this however we still need. -- 2.45.2