mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent, but this function doesn't exist in wx2.8. So, #define the former as the latter for backwards compatibility.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1537 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -60,6 +60,10 @@ typedef wxOutputStream OutputStream;
|
||||
#if wxVERSION_NUMBER < 2805
|
||||
#define wxBORDER_THEME wxSUNKEN_BORDER
|
||||
#endif
|
||||
#if wxVERSION_NUMBER < 2900
|
||||
// wx >= 2.9 requires the use of HandleWindowEvent on windows, instead of ProcessEvent
|
||||
#define HandleWindowEvent ProcessEvent
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------- : Other aliasses
|
||||
|
||||
|
||||
Reference in New Issue
Block a user