]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontdlg.cpp
Add comments explaining the workaround for mingw 3.2.3
[wxWidgets.git] / src / msw / fontdlg.cpp
index a48a60a2eed9e2ad651feff4b86212dae63bcfd0..0ed341667678e80e7d79c76eaf40a0b515ffaa9c 100644 (file)
 #endif
 
 #include "wx/fontdlg.h"
-#include "wx/msw/private.h"
-
-#if !defined(__WIN32__) || defined(__WXWINCE__)
-#include <commdlg.h>
-#endif
+#include "wx/msw/wrapcdlg.h"
 
 #include "wx/cmndata.h"
 #include "wx/log.h"
+#include "wx/math.h"
 
-#include <math.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -66,7 +62,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;