X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fa056ab78be920eacac56e51864fe7a45d1a31a..09e48f0b1917db7e455f28c2c9ed661d39e9ab65:/src/unix/fontenum.cpp diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index a9960f0709..5cd8a26981 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -73,11 +73,13 @@ static char **CreateFontList(wxChar spacing, wxNativeEncodingInfo info; wxGetNativeFontEncoding(encoding, &info); +#if wxUSE_FONTMAP if ( !wxTestFontEncoding(info) ) { // ask font mapper for a replacement (void)wxTheFontMapper->GetAltForEncoding(encoding, &info); } +#endif // wxUSE_FONTMAP wxString pattern; pattern.Printf(wxT("-*-*-*-*-*-*-*-*-*-*-%c-*-%s-%s"),