]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/fontutil.cpp
Include wx/gdiobj.h according to precompiled headers of wx/wx.h (with other minor...
[wxWidgets.git] / src / cocoa / fontutil.cpp
index dbb6d544aa20db844f3f3e3d58edc11357c07935..c50c724772cec1011b13818aba605b896d36cc68 100644 (file)
@@ -26,6 +26,7 @@
 
 #ifndef WX_PRECOMP
     #include "wx/hash.h"
+    #include "wx/utils.h"
 #endif // PCH
 
 #include "wx/fontutil.h"
@@ -162,7 +163,6 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
         #pragma message enable nosimpint
     #endif
 
-    #include "wx/utils.h"       // for wxGetDisplay()
 #elif defined(__WXGTK__)
     // we have to declare struct tm to avoid problems with first forward
     // declaring it in C code (glib.h included from gdk.h does it) and then