]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed CF_NOSIMULATIONS flag to increase range of available fonts
authorJulian Smart <julian@anthemion.co.uk>
Mon, 6 Dec 2004 08:48:29 +0000 (08:48 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 6 Dec 2004 08:48:29 +0000 (08:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/fontdlg.cpp

index a48a60a2eed9e2ad651feff4b86212dae63bcfd0..55643037995294084216f3065cd530d40b807b3f 100644 (file)
@@ -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;