X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e721a2a2a41393346e0c86965cfd04f056196c2a..a01ada0599acdc11497850c4c8e846d3f237bf91:/include/wx/univ/setup0.h diff --git a/include/wx/univ/setup0.h b/include/wx/univ/setup0.h index 3e8f5754a2..e82d8e4c04 100644 --- a/include/wx/univ/setup0.h +++ b/include/wx/univ/setup0.h @@ -46,6 +46,19 @@ // 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 but this is set to 1 automatically in wx/chkconf.h for the +// compilers which can't build the new code (currently only g++ and MSVC >= 8 +// can) +// +// Recommended setting: 0 +#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.