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
This commit is contained in:
Vadim Zeitlin
2005-03-08 10:56:46 +00:00
parent 7d0d80bd1c
commit ed6dd18ae8
3 changed files with 18 additions and 15 deletions

View File

@@ -47,13 +47,14 @@
// Recommended setting: 0 (please update your code) // Recommended setting: 0 (please update your code)
#define WXWIN_COMPATIBILITY_2_4 1 #define WXWIN_COMPATIBILITY_2_4 1
// Set to 0 for accurate dialog units, else 1 to be as per 2.1.16 and before. // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
// If migrating between versions, your dialogs may seem to shrink. // 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!) // Recommended setting: 0
#define wxDIALOG_UNIT_COMPATIBILITY 1 #define wxDIALOG_UNIT_COMPATIBILITY 0
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// debugging settings // debugging settings

View File

@@ -46,13 +46,14 @@
// Recommended setting: 0 (please update your code) // Recommended setting: 0 (please update your code)
#define WXWIN_COMPATIBILITY_2_4 1 #define WXWIN_COMPATIBILITY_2_4 1
// Set to 0 for accurate dialog units, else 1 to be as per 2.1.16 and before. // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
// If migrating between versions, your dialogs may seem to shrink. // 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!) // Recommended setting: 0
#define wxDIALOG_UNIT_COMPATIBILITY 1 #define wxDIALOG_UNIT_COMPATIBILITY 0
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// debugging settings // debugging settings

View File

@@ -31,13 +31,14 @@
// Recommended setting: 0 (please update your code) // Recommended setting: 0 (please update your code)
#define WXWIN_COMPATIBILITY_2_4 1 #define WXWIN_COMPATIBILITY_2_4 1
// Set to 0 for accurate dialog units, else 1 to be as per 2.1.16 and before. // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
// If migrating between versions, your dialogs may seem to shrink. // 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!) // Recommended setting: 0
#define wxDIALOG_UNIT_COMPATIBILITY 1 #define wxDIALOG_UNIT_COMPATIBILITY 0
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// debugging settings // debugging settings