X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11c7d5b6d1cb54d5ffdc11d8ff092b41e225bfb6..c92d798f9d11d15acb4af65f7fc03187ea9eee7c:/src/msw/fontutil.cpp diff --git a/src/msw/fontutil.cpp b/src/msw/fontutil.cpp index 10e1d82f7e..87acd82949 100644 --- a/src/msw/fontutil.cpp +++ b/src/msw/fontutil.cpp @@ -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;