]> git.saurik.com Git - wxWidgets.git/commitdiff
Comment out line that set the VirtualSizeHints() upon
authorRobert Roebling <robert@roebling.de>
Sun, 13 Feb 2005 13:44:08 +0000 (13:44 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 13 Feb 2005 13:44:08 +0000 (13:44 +0000)
   calling SetScrollbars().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/scrlwing.cpp

index f5a5e0d8b1dbe512f5947c42ef9bc8b9bfd80c18..c78ebc0fa7c5828db5df41ef35c323f6f7a9552b 100644 (file)
@@ -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.