]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontcmn.cpp
exchanged the base classes order, wxObject must be always first
[wxWidgets.git] / src / common / fontcmn.cpp
index d448cd623833a3865705efae2e7f27719f95fb39..f1b77746b229f72a34e74b0c5ce92883ae04ed8a 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "fontbase.h"
 #endif
 
 #endif // WX_PRECOMP
 
 #include "wx/gdicmn.h"
+
+#if defined(__WXMSW__)
+  #include  "wx/msw/private.h"  // includes windows.h for LOGFONT
+  #include  "wx/msw/winundef.h"
+#endif
+
 #include "wx/fontutil.h" // for wxNativeFontInfo
 #include "wx/fontmap.h"