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:
@@ -1087,12 +1087,11 @@ wxEvtHandler::ProcessEventIfMatches(const wxEventTableEntryBase& entry,
|
|||||||
wxTheApp->HandleEvent(handler, (wxEventFunction)entry.m_fn, event);
|
wxTheApp->HandleEvent(handler, (wxEventFunction)entry.m_fn, event);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#else // !wxUSE_EXCEPTIONS
|
#endif // wxUSE_EXCEPTIONS
|
||||||
{
|
{
|
||||||
// no need for an extra virtual function call
|
// no need for an extra virtual function call
|
||||||
(handler->*((wxEventFunction) (entry.m_fn)))(event);
|
(handler->*((wxEventFunction) (entry.m_fn)))(event);
|
||||||
}
|
}
|
||||||
#endif // wxUSE_EXCEPTIONS
|
|
||||||
|
|
||||||
if (!event.GetSkipped())
|
if (!event.GetSkipped())
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user