X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e721a2a2a41393346e0c86965cfd04f056196c2a..74c34d22773e39b13fe0502798494b38f261a9e5:/include/wx/os2/setup0.h?ds=sidebyside diff --git a/include/wx/os2/setup0.h b/include/wx/os2/setup0.h index 04b27f059d..80c530c8dd 100644 --- a/include/wx/os2/setup0.h +++ b/include/wx/os2/setup0.h @@ -47,6 +47,17 @@ // Recommended setting: 0 (please update your code) #define WXWIN_COMPATIBILITY_2_8 1 +// Use the 2.8-compatible events and Connect(): this is set to 0 by default as +// the new events bring significant benefits in compile-time safety and +// flexibility but can be disabled to somewhat reduce the compilation time and, +// especially, to still allow building if the compiler template support is too +// bad to compile the new code. +// +// Default is 0 for all compilers except VC6 currently. +// +// Recommended setting: 0 (please upgrade your compiler instead of changing it) +#define wxEVENTS_COMPATIBILITY_2_8 0 + // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when // default system font is used for wxWindow::GetCharWidth/Height() instead of // the current font.