X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/955f0add8917579c3da701330ff16848fc35ca40..4fe41ce6250fd9ba3632f532574e671839afb595:/src/msw/fontdlg.cpp diff --git a/src/msw/fontdlg.cpp b/src/msw/fontdlg.cpp index a48a60a2ee..e0917d6159 100644 --- a/src/msw/fontdlg.cpp +++ b/src/msw/fontdlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "fontdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -37,16 +33,12 @@ #endif #include "wx/fontdlg.h" -#include "wx/msw/private.h" - -#if !defined(__WIN32__) || defined(__WXWINCE__) -#include -#endif +#include "wx/msw/wrapcdlg.h" #include "wx/cmndata.h" #include "wx/log.h" +#include "wx/math.h" -#include #include #include @@ -66,7 +58,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) int wxFontDialog::ShowModal() { - DWORD flags = CF_SCREENFONTS | CF_NOSIMULATIONS; + // It should be OK to always use GDI simulations + DWORD flags = CF_SCREENFONTS /* | CF_NOSIMULATIONS */ ; LOGFONT logFont;