From 8bd2a80432aff74480a1f842dde8565f0c88d1e0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 18 Sep 2003 14:29:56 +0000 Subject: [PATCH] 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 --- src/common/event.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/event.cpp b/src/common/event.cpp index ebfb67c0b8..f4be1f6d95 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -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;