From: Vadim Zeitlin Date: Tue, 8 Mar 2005 10:56:46 +0000 (+0000) Subject: set wxDIALOG_UNIT_COMPATIBILITY to 0 by default X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ed6dd18ae810f7ccc81ea9e452cc2213e211427a?hp=7d0d80bd1ce297cdefc2c8f8de3be84cbe9cced0 set wxDIALOG_UNIT_COMPATIBILITY to 0 by default git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/setup0.h b/include/wx/mac/setup0.h index f0fcaa873d..7d868578b9 100644 --- a/include/wx/mac/setup0.h +++ b/include/wx/mac/setup0.h @@ -47,13 +47,14 @@ // Recommended setting: 0 (please update your code) #define WXWIN_COMPATIBILITY_2_4 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. +// 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. // -// Default is 1 +// Default is 0 // -// Recommended setting: 0 (the new calculations are more correct!) -#define wxDIALOG_UNIT_COMPATIBILITY 1 +// Recommended setting: 0 +#define wxDIALOG_UNIT_COMPATIBILITY 0 // ---------------------------------------------------------------------------- // debugging settings diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index c681818534..bcfbb6457a 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -46,13 +46,14 @@ // Recommended setting: 0 (please update your code) #define WXWIN_COMPATIBILITY_2_4 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. +// 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. // -// Default is 1 +// Default is 0 // -// Recommended setting: 0 (the new calculations are more correct!) -#define wxDIALOG_UNIT_COMPATIBILITY 1 +// Recommended setting: 0 +#define wxDIALOG_UNIT_COMPATIBILITY 0 // ---------------------------------------------------------------------------- // debugging settings diff --git a/include/wx/setup_inc.h b/include/wx/setup_inc.h index 980c77d4ae..2ca2b73758 100644 --- a/include/wx/setup_inc.h +++ b/include/wx/setup_inc.h @@ -31,13 +31,14 @@ // Recommended setting: 0 (please update your code) #define WXWIN_COMPATIBILITY_2_4 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. +// 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. // -// Default is 1 +// Default is 0 // -// Recommended setting: 0 (the new calculations are more correct!) -#define wxDIALOG_UNIT_COMPATIBILITY 1 +// Recommended setting: 0 +#define wxDIALOG_UNIT_COMPATIBILITY 0 // ---------------------------------------------------------------------------- // debugging settings