From: Robert Roebling Date: Sun, 13 Feb 2005 13:44:08 +0000 (+0000) Subject: Comment out line that set the VirtualSizeHints() upon X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2b43d5885d32e38f89814eec6c97cc2141458137?ds=inline 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 --- 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.