X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55bd3f34b68f55f2cdccf29f40581b7683b9e524..606b005fb2b535b34d1ca45d2d06ee86718e8b1c:/src/msw/fontutil.cpp?ds=inline diff --git a/src/msw/fontutil.cpp b/src/msw/fontutil.cpp index 065b899c61..003dd85a7e 100644 --- a/src/msw/fontutil.cpp +++ b/src/msw/fontutil.cpp @@ -369,7 +369,9 @@ void wxFillLogFont(LOGFONT *logFont, const wxFont *font) wxFontEncoding encoding = font->GetEncoding(); if ( !wxGetNativeFontEncoding(encoding, &info) ) { +#if wxUSE_FONTMAP if ( !wxTheFontMapper->GetAltForEncoding(encoding, &info) ) +#endif // wxUSE_FONTMAP { // unsupported encoding, replace with the default info.charset = ANSI_CHARSET;