X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e721a2a2a41393346e0c86965cfd04f056196c2a..a8519f6507f7b4389c0fe7dbae4ebd63120d5dd0:/include/wx/setup_inc.h?ds=inline diff --git a/include/wx/setup_inc.h b/include/wx/setup_inc.h index 4f21e8a492..1112262abc 100644 --- a/include/wx/setup_inc.h +++ b/include/wx/setup_inc.h @@ -43,6 +43,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.