define WXWIN_COMPATIBILITY_EVENT_TYPES as 0 if it's not defined

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-08-03 23:44:05 +00:00
parent 498919ddcd
commit 494c7caa78

View File

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