Commit 66275038 authored by twanvl's avatar twanvl

that should be all

parent 0239cca0
...@@ -49,7 +49,7 @@ new: ...@@ -49,7 +49,7 @@ new:
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
purpose: Draw 'checked' menu items with a border purpose: Draw 'checked' menu items with a border
file: src\msw\ownerdrw.cpp file: src/msw/ownerdrw.cpp
line: 464 line: 464
old: old:
// there should be enough space! // there should be enough space!
...@@ -128,3 +128,25 @@ new: ...@@ -128,3 +128,25 @@ new:
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
purpose: Don't mess with the default GUI font for no reason
file: src/msw/settings.cpp
line: 226
old:
wxNativeFontInfo info;
info.lf = lf;
#ifndef __WXWINCE__
// We want Windows 2000 or later to have new fonts even MS Shell Dlg
// is returned as default GUI font for compatibility
int verMaj;
if(index == DEFAULT_GUI_FONT && wxGetOsVersion(&verMaj) == wxOS_WINDOWS_NT && verMaj >= 5)
wxStrcpy(info.lf.lfFaceName, wxT("MS Shell Dlg 2"));
#endif
// Under MicroWindows we pass the HFONT as well
new:
wxNativeFontInfo info;
info.lf = lf;
//@@@ 2006-11-21: Don't mess with my Default GUI Font!
// Under MicroWindows we pass the HFONT as well
// -----------------------------------------------------------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment