X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f139dfe8e34630022fdf133165303b42a36661a9..211cc8dc907ee50ca6d383b8df16bba9a4d3ce2d:/src/unix/fontutil.cpp?ds=sidebyside diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index d4a2c71f11..9411fc8df6 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -278,7 +278,9 @@ wxNativeFont wxLoadQueryNearestFont(int pointSize, if ( !wxGetNativeFontEncoding(encoding, &info) || !wxTestFontEncoding(info) ) { +#if wxUSE_FONTMAP if ( !wxTheFontMapper->GetAltForEncoding(encoding, &info) ) +#endif // wxUSE_FONTMAP { // unspported encoding - replace it with the default //