From 2feed0044e8c8c99667da7bf8ecca52c4c707c05 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 17 Jul 2001 22:01:00 +0000 Subject: [PATCH] blind fix for wxScrolledWindow problem git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/scrlwing.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index 862172c559..e3149ab601 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -168,16 +168,15 @@ void wxAutoScrollTimer::Notify() bool wxScrollHelperEvtHandler::ProcessEvent(wxEvent& event) { wxEventType evType = event.GetEventType(); - - if ( evType == wxEVT_SIZE ) // Don't let wxPanel catch the size events. RR. + + if ( evType == wxEVT_SIZE ) { m_scrollHelper->HandleOnSize((wxSizeEvent &)event); - return TRUE; } - + if ( wxEvtHandler::ProcessEvent(event) ) return TRUE; - + // reset the skipped flag to FALSE as it might have been set to TRUE in // ProcessEvent() above event.Skip(FALSE); -- 2.49.0