]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontutil.cpp
fix for BSD compilation
[wxWidgets.git] / src / msw / fontutil.cpp
index 003dd85a7ecea8dbda8691e4a1714727b16b48a2..22d308ceecc83a28559ef680f71c548b34f22fbe 100644 (file)
@@ -123,7 +123,7 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
             info->charset = ANSI_CHARSET;
             break;
 
-#if !defined(__WIN16__)
+#if !defined(__WIN16__) && !defined(__WXMICROWIN__)
         case wxFONTENCODING_CP1250:
             info->charset = EASTEUROPE_CHARSET;
             break;
@@ -213,7 +213,7 @@ wxFontEncoding wxGetFontEncFromCharSet(int cs)
             fontEncoding = wxFONTENCODING_CP1252;
             break;
 
-#ifdef __WIN32__
+#if defined(__WIN32__) && !defined(__WXMICROWIN__)
         case EASTEUROPE_CHARSET:
             fontEncoding = wxFONTENCODING_CP1250;
             break;