blind fix for wxScrolledWindow problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user