From ed6dd18ae810f7ccc81ea9e452cc2213e211427a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 8 Mar 2005 10:56:46 +0000 Subject: [PATCH] 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 --- include/wx/mac/setup0.h | 11 ++++++----- include/wx/msw/setup0.h | 11 ++++++----- include/wx/setup_inc.h | 11 ++++++----- 3 files changed, 18 insertions(+), 15 deletions(-) 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 -- 2.45.2