X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9f7896861f734ce044ee8601ba2d8a6959c9d9e..2a4a928df7ec1b05c457b088f8719ba6f67ee041:/src/common/fontmap.cpp diff --git a/src/common/fontmap.cpp b/src/common/fontmap.cpp index bae3716370..c1c8cb1e80 100644 --- a/src/common/fontmap.cpp +++ b/src/common/fontmap.cpp @@ -140,7 +140,7 @@ private: bool m_flagOld; bool& m_flag; - DECLARE_NO_COPY_CLASS(ReentrancyBlocker) + wxDECLARE_NO_COPY_CLASS(ReentrancyBlocker); }; // ============================================================================ @@ -194,7 +194,7 @@ wxFontMapper::CharsetToEncoding(const wxString& charset, bool interactive) // the dialog title wxString title(m_titleDialog); if ( !title ) - title << wxTheApp->GetAppName() << _(": unknown charset"); + title << wxTheApp->GetAppDisplayName() << _(": unknown charset"); // the message wxString msg; @@ -329,7 +329,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding, encName = GetEncodingName(encoding); if ( !facename.empty() ) { - configEntry = facename + _T("_"); + configEntry = facename + wxT("_"); } configEntry += encName; @@ -408,7 +408,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding, { wxString title(m_titleDialog); if ( !title ) - title << wxTheApp->GetAppName() << _(": unknown encoding"); + title << wxTheApp->GetAppDisplayName() << _(": unknown encoding"); // built the message wxString encDesc = GetEncodingDescription(encoding), @@ -494,7 +494,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding, bool interactive) { wxCHECK_MSG( encodingAlt, false, - _T("wxFontEncoding::GetAltForEncoding(): NULL pointer") ); + wxT("wxFontEncoding::GetAltForEncoding(): NULL pointer") ); wxNativeEncodingInfo info; if ( !GetAltForEncoding(encoding, &info, facename, interactive) )