X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea5ef76f071d515eb634c5e2092f509d8d341e1b..1bc822dfb5cdc24fd2d98b59ea20c9951301bfb1:/include/wx/univ/setup0.h diff --git a/include/wx/univ/setup0.h b/include/wx/univ/setup0.h index e1135cbb11..cb69d3bcdc 100644 --- a/include/wx/univ/setup0.h +++ b/include/wx/univ/setup0.h @@ -47,11 +47,21 @@ // This setting determines the compatibility with 2.0 API: set it to 1 to // enable it // -// Default is 1. +// Default is 0. // // Recommended setting: 0 (please update your code instead!) #define WXWIN_COMPATIBILITY_2_2 0 +// 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 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_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 // of a bitmap to a function taking "const wxBitmap&" - which will *not* work @@ -199,7 +209,7 @@ // // Recommended setting: 1 for win32 else 0 #if defined(__WIN32__) - #define wxUSE_WCHAR_T 0 //? unresolved external symbol wxCharsetToCodepage + #define wxUSE_WCHAR_T 1 #else #define wxUSE_WCHAR_T 0 #endif @@ -662,8 +672,8 @@ // Default is 1. // // Recommended setting: 1 -#if defined(__WIN32__) - #define wxUSE_TOOLTIPS 0 //? error 'SetWindow' cannot convert parameter 1 ... +#ifdef __WIN32__ + #define wxUSE_TOOLTIPS 1 #else #define wxUSE_TOOLTIPS 0 #endif @@ -767,7 +777,7 @@ #define wxUSE_SPLASH 1 // wizards -#define wxUSE_WIZARDDLG 0 //? error '_wxArraywxArrayPages' redefinition +#define wxUSE_WIZARDDLG 1 // ---------------------------------------------------------------------------- // Metafiles support