]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
added find performance test (see #9870) and the possibility to set the number of...
[wxWidgets.git] / src / common / event.cpp
index 981d213a80d512fda972c969fa0d0f48b2b61e76..7b58e77c3c3e1b65ec1231c40f16fe32efd5609d 100644 (file)
@@ -1307,7 +1307,7 @@ bool wxEvtHandler::DoTryApp(wxEvent& event)
 
 bool wxEvtHandler::TryBefore(wxEvent& event)
 {
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
     // call the old virtual function to keep the code overriding it working
     return TryValidator(event);
 #else
@@ -1318,7 +1318,7 @@ bool wxEvtHandler::TryBefore(wxEvent& event)
 
 bool wxEvtHandler::TryAfter(wxEvent& event)
 {
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
     // as above, call the old virtual function for compatibility
     return TryParent(event);
 #else