X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85fa5d02d8a98d59bf1c302bc26212f3f84d1d81..f2bbd25d26beb146eb10415511aafe9fe89b1f97:/include/wx/msw/setup_microwin.h?ds=sidebyside diff --git a/include/wx/msw/setup_microwin.h b/include/wx/msw/setup_microwin.h index a895e9f3a3..9eb0ffc2b5 100644 --- a/include/wx/msw/setup_microwin.h +++ b/include/wx/msw/setup_microwin.h @@ -28,13 +28,23 @@ // compatibility settings // ---------------------------------------------------------------------------- -// This setting determines the compatibility with 2.2 API: set it to 1 to -// enable it +// This setting determines the compatibility with 2.4 API: set it to 1 to +// enable it but please consider updating your code instead. // -// Default is 1. +// Default is 0 +// +// Recommended setting: 0 (please update your code) +#define WXWIN_COMPATIBILITY_2_4 0 + +// This setting determines the compatibility with 2.6 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 instead!) -#define WXWIN_COMPATIBILITY_2_2 1 +// Recommended setting: 0 (please update your code) +#define WXWIN_COMPATIBILITY_2_6 1 // Set to 0 for accurate dialog units, else 1 to be as per 2.1.16 and before. // If migrating between versions, your dialogs may seem to shrink.