X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f139dfe8e34630022fdf133165303b42a36661a9..d9ff0f91fbddae88286567cab74dcfb59c91fc0f:/src/unix/fontutil.cpp 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 //