]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontutil.cpp
wxWindow::GetBestSize() added
[wxWidgets.git] / src / msw / fontutil.cpp
index 10e1d82f7e0f7444656deefc3c817f5e46d82054..87acd8294992d15a880c3ce47a3ae5e4cc1d1019 100644 (file)
@@ -397,6 +397,7 @@ wxFont wxCreateFontFromLogFont(const LOGFONT *logFont)
             fontEncoding = wxFONTENCODING_CP1252;
             break;
 
+#ifdef __WIN32__
         case EASTEUROPE_CHARSET:
             fontEncoding = wxFONTENCODING_CP1250;
             break;
@@ -424,6 +425,7 @@ wxFont wxCreateFontFromLogFont(const LOGFONT *logFont)
         case TURKISH_CHARSET:
             fontEncoding = wxFONTENCODING_CP1254;
             break;
+#endif
 
         case OEM_CHARSET:
             fontEncoding = wxFONTENCODING_CP437;