added wxApp::Set/GetAppDisplayName() (patch 1780414)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user