X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..8da1f9a99ee0ff9493cc7845ec13100cdeac431c:/src/msw/fontdlg.cpp?ds=sidebyside diff --git a/src/msw/fontdlg.cpp b/src/msw/fontdlg.cpp index bffa169a38..5564303799 100644 --- a/src/msw/fontdlg.cpp +++ b/src/msw/fontdlg.cpp @@ -66,7 +66,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; @@ -87,9 +88,6 @@ int wxFontDialog::ShowModal() if ( m_fontData.m_fontColour.Ok() ) { chooseFontStruct.rgbColors = wxColourToRGB(m_fontData.m_fontColour); - - // need this for the colour to be taken into account - flags |= CF_EFFECTS; } // CF_ANSIONLY flag is obsolete for Win32