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:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user