]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontdlg.cpp
end label editing if the control loses focus (slightly modified patch 1084592)
[wxWidgets.git] / src / msw / fontdlg.cpp
index a48a60a2eed9e2ad651feff4b86212dae63bcfd0..fefc22adb6e4dbf888bd25d2505b2e895b42fb95 100644 (file)
@@ -45,8 +45,8 @@
 
 #include "wx/cmndata.h"
 #include "wx/log.h"
+#include "wx/math.h"
 
-#include <math.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -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;