X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..7aa5864467bf0bb220fdc447876f13f178ae8f35:/src/common/fontmap.cpp diff --git a/src/common/fontmap.cpp b/src/common/fontmap.cpp index 6b2e3b81de..977f7b2c44 100644 --- a/src/common/fontmap.cpp +++ b/src/common/fontmap.cpp @@ -738,6 +738,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding, #endif // wxUSE_CONFIG // ask the user +#if wxUSE_FONTDLG if ( interactive ) { wxString title(m_titleDialog); @@ -797,6 +798,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding, } } //else: we're in non-interactive mode +#endif // wxUSE_FONTDLG // now try the default mappings: wxFontEncodingArray equiv = wxEncodingConverter::GetAllEquivalents(encoding);