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
This commit is contained in:
Robert Roebling 2005-02-13 13:44:08 +00:00
parent 68a7581156
commit 2b43d5885d

View 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.