]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontutil.cpp
xti additions / changes, trying to reduce dependencies
[wxWidgets.git] / src / msw / fontutil.cpp
index b05fabe17c5a25de5309d3d5f52c4d2fa8dcca33..1bff1940f7c94c78c6770335685b60c271ac700e 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "fontutil.h"
 #endif
 
@@ -118,7 +118,7 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
         encoding = wxFont::GetDefaultEncoding();
     }
 
-    extern WXDLLEXPORT_BASE long wxEncodingToCharset(wxFontEncoding encoding);
+    extern WXDLLIMPEXP_BASE long wxEncodingToCharset(wxFontEncoding encoding);
     info->charset = wxEncodingToCharset(encoding);
     if ( info->charset == -1 )
         return FALSE;