fix the bug with not skipping events any more after recent changes (stupid, stupid typo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c72b8276c8
commit
8bd2a80432
@ -1087,12 +1087,11 @@ wxEvtHandler::ProcessEventIfMatches(const wxEventTableEntryBase& entry,
|
||||
wxTheApp->HandleEvent(handler, (wxEventFunction)entry.m_fn, event);
|
||||
}
|
||||
else
|
||||
#else // !wxUSE_EXCEPTIONS
|
||||
#endif // wxUSE_EXCEPTIONS
|
||||
{
|
||||
// no need for an extra virtual function call
|
||||
(handler->*((wxEventFunction) (entry.m_fn)))(event);
|
||||
}
|
||||
#endif // wxUSE_EXCEPTIONS
|
||||
|
||||
if (!event.GetSkipped())
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user