X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0becd470109886a71b5fb51c60f9842318eaeca9..1b80ba97f3579a3db07da4ab9ef1eb97bbe7dd3d:/include/wx/msw/setup0.h?ds=inline diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 365de9e7c0..2aa7c461d3 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -44,13 +44,23 @@ // Recommended setting: 0 (please update your code instead!) #define WXWIN_COMPATIBILITY_2 0 +// This setting determines the compatibility with 2.2 API: set it to 1 to +// enable it but please consider to update your code instead of doing it. +// +// Default is 0 +// +// Recommended setting: 0 (please update your code) +#define WXWIN_COMPATIBILITY_2_2 1 + // This setting determines the compatibility with 2.2 API: set it to 0 to // flag all cases of using deprecated functions. // -// Default is 1 but please try building your code with 0. +// Default is 1 but please try building your code with 0 as the default will +// change to 0 in the next version and the deprecated functions will disappear +// in the version after it completely. // // Recommended setting: 0 (please update your code) -#define WXWIN_COMPATIBILITY_2_2 1 +#define WXWIN_COMPATIBILITY_2_4 1 // in wxMSW version 2.1.11 and earlier, wxIcon always derives from wxBitmap, // but this is very dangerous because you can mistakenly pass an icon instead @@ -1068,7 +1078,7 @@ // ---------------------------------------------------------------------------- #ifndef wxUSE_NORLANDER_HEADERS -#if (defined(__MINGW32__) || defined(__CYGWIN__)) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))) +#if (defined(__WATCOMC__) && (__WATCOMC__ >= 1200)) || ((defined(__MINGW32__) || defined(__CYGWIN__)) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95)))) # define wxUSE_NORLANDER_HEADERS 1 #else # define wxUSE_NORLANDER_HEADERS 0 @@ -1182,7 +1192,7 @@ #define wxUSE_DEBUG_NEW_ALWAYS 0 #endif -#if defined(__WXMSW__) && defined(__WATCOMC__) +#if defined(__WXMSW__) && (defined(__WATCOMC__) && __WATCOMC__ < 1200) /* #undef wxUSE_GLCANVAS #define wxUSE_GLCANVAS 0