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:
Vadim Zeitlin
2003-09-18 14:29:56 +00:00
parent c72b8276c8
commit 8bd2a80432

View File

@@ -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;