]> git.saurik.com Git - wxWidgets.git/commitdiff
fix the bug with not skipping events any more after recent changes (stupid, stupid...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 Sep 2003 14:29:56 +0000 (14:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 Sep 2003 14:29:56 +0000 (14:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/event.cpp

index ebfb67c0b814fee487a9f411e7ba4bb85b1daa54..f4be1f6d954802990d4e5855e6ce0cbd0973b8ce 100644 (file)
@@ -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;