]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontenum.cpp
fixed small bug in operator=() (comparing equal but not identical objects were not...
[wxWidgets.git] / src / msw / fontenum.cpp
index c732ae56930d0e4021d6b2b591ce0a18ee5e8861..68c3e999f8c55feaef9447199d8c0eb99f1edf18 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "fontenum.h"
 #endif
 
     #pragma implementation "fontenum.h"
 #endif
 
@@ -31,7 +31,8 @@
 #if wxUSE_FONTMAP
 
 #ifndef WX_PRECOMP
 #if wxUSE_FONTMAP
 
 #ifndef WX_PRECOMP
-  #include "wx/font.h"
+    #include "wx/font.h"
+    #include "wx/encinfo.h"
 #endif
 
 #include "wx/msw/private.h"
 #endif
 
 #include "wx/msw/private.h"