improvements to wxEventFunctor classes; use wxHAS_EVENT_BIND instead of wxEVENTS_COMPATIBILITY_2_8 (see #10653)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,19 +47,6 @@
|
||||
// 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.
|
||||
|
Reference in New Issue
Block a user