From 461d75de4cfb09c128893b1420c3eff0d189f41c Mon Sep 17 00:00:00 2001 From: raburton Date: Sat, 19 Jan 2008 09:44:20 +0000 Subject: [PATCH] retain wxWidgets 2.6 compatibility --- include/fctsys.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/fctsys.h b/include/fctsys.h index e5e3926665..b69677fc00 100644 --- a/include/fctsys.h +++ b/include/fctsys.h @@ -45,9 +45,11 @@ #include "gr_basic.h" // 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_SAVE wxSAVE +#define wxFD_DEFAULT_STYLE wxOPEN +#define wxFD_MULTIPLE wxMULTIPLE #define wxFD_OVERWRITE_PROMPT wxOVERWRITE_PROMPT #define WXK_PAGEUP WXK_PRIOR #define WXK_PAGEDOWN WXK_NEXT