From: Robert Roebling <robert@roebling.de>
Date: Wed, 9 Mar 2005 19:04:46 +0000 (+0000)
Subject:   Compilo.
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/168f82ce0aa08e73dbbb40a047631cdfd83fac5c

  Compilo.


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

diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp
index 6cdef7f64e..606207d260 100644
--- a/src/generic/scrlwing.cpp
+++ b/src/generic/scrlwing.cpp
@@ -968,7 +968,7 @@ void wxScrollHelper::HandleOnSize(wxSizeEvent& WXUNUSED(event))
         wxSize size = m_targetWindow->GetBestVirtualSize();
         
         // This will call ::Layout() and ::AdjustScrollbars()
-        SetVirtualSize( size );
+        m_win->SetVirtualSize( size );
     }
     else
     {