Use correct font instead of DEFAULT_GUI_FONT.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Aug 2009 20:42:46 +0000 (20:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Aug 2009 20:42:46 +0000 (20:42 +0000)
commit16b0c553987e18e1c28d03ba79111b62981287b0
tree3ec00f81b60eee2e733dc8def4e6a19f4af0b915
parent791f7574a08f7dacdb006b5788ae738a4134ca85
Use correct font instead of DEFAULT_GUI_FONT.

DEFAULT_GUI_FONT is a misnomer, not only is it not a default (and never was)
but it shouldn't be used at all. Instead use lfMessageFont from the
NONCLIENTMETRICS structure as it seems to correspond to the font used by
the native controls under 2000, XP and Vista and respects Vista global DPI
setting unlike DEFAULT_GUI_FONT.

Closes #11008.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/settings.cpp