]> git.saurik.com Git - wxWidgets.git/commitdiff
define WXWIN_COMPATIBILITY_EVENT_TYPES as 0 if it's not defined
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Aug 2005 23:44:05 +0000 (23:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Aug 2005 23:44:05 +0000 (23:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/event.h

index 603da8351e769f68930178bfe744cfece9c29f27..b3b7ed92864fe89ca265f7f1a13957b79fbc96df 100644 (file)
@@ -78,9 +78,12 @@ typedef int wxEventType;
 //     change the switch()es to if()s
 //
 // if these are real problems for you, define WXWIN_COMPATIBILITY_EVENT_TYPES
-// to get 100% old behaviour, however you won't be able to use the libraries
-// using the new dynamic event type allocation in such case, so avoid it if
-// possible.
+// as 1 to get 100% old behaviour, however you won't be able to use the
+// libraries using the new dynamic event type allocation in such case, so avoid
+// it if possible.
+#ifndef WXWIN_COMPATIBILITY_EVENT_TYPES
+    #define WXWIN_COMPATIBILITY_EVENT_TYPES 0
+#endif
 
 #if WXWIN_COMPATIBILITY_EVENT_TYPES