Preserve m_skipped in wx[Var]ScrollHelperEvtHandler::ProcessEvent.

If the event was skipped and not processed, its "skipped" status would
be lost.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2010-03-28 14:37:30 +00:00
parent e9c4f54ef3
commit d4a58a7ce5
2 changed files with 2 additions and 8 deletions

View File

@@ -298,8 +298,7 @@ bool wxScrollHelperEvtHandler::ProcessEvent(wxEvent& event)
}
}
if ( processed )
event.Skip(wasSkipped);
event.Skip(wasSkipped);
return processed;
}