]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/dc.cpp
minimal changes needed to allow linking wxCocoa as shared lib
[wxWidgets.git] / src / mgl / dc.cpp
index 410e1b4016bc09d2e50209eca181a771775fef72..ba6ff76f3cb2466c33c870b6a04cb67e31902b6c 100644 (file)
@@ -16,7 +16,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "dc.h"
 #endif
 
@@ -33,6 +33,7 @@
 #endif
 
 #include "wx/fontutil.h"
+#include "wx/encinfo.h"
 #include "wx/fontmap.h"
 #include "wx/mgl/private.h"
 #include "wx/log.h"