Commit 461d75de authored by raburton's avatar raburton

retain wxWidgets 2.6 compatibility

parent b8f048b5
...@@ -45,9 +45,11 @@ ...@@ -45,9 +45,11 @@
#include "gr_basic.h" #include "gr_basic.h"
// Old wxWidget compatibility (prior to wxWidget 2.7): // Old wxWidget compatibility (prior to wxWidget 2.7):
#if ( ( wxMAJOR_VERSION < 2) || ( ( wxMAJOR_VERSION == 2)&& (wxMINOR_VERSION < 7 ) ) ) #if !wxCHECK_VERSION( 2, 7, 0 )
#define wxFD_OPEN wxOPEN #define wxFD_OPEN wxOPEN
#define wxFD_SAVE wxSAVE #define wxFD_SAVE wxSAVE
#define wxFD_DEFAULT_STYLE wxOPEN
#define wxFD_MULTIPLE wxMULTIPLE
#define wxFD_OVERWRITE_PROMPT wxOVERWRITE_PROMPT #define wxFD_OVERWRITE_PROMPT wxOVERWRITE_PROMPT
#define WXK_PAGEUP WXK_PRIOR #define WXK_PAGEUP WXK_PRIOR
#define WXK_PAGEDOWN WXK_NEXT #define WXK_PAGEDOWN WXK_NEXT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment