X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c376d80f4090ca681e91a96b6947ce299e5a950c..7b3dba492726e80855b2f348433338e6561c7bfb:/src/generic/scrlwing.cpp?ds=inline 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 {