X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0a050e347b1ece07ad5f165ba1b1d16edbeae77..1a8e8d694bdcaec228f59a55f2aca1dfea0679db:/src/common/msgout.cpp diff --git a/src/common/msgout.cpp b/src/common/msgout.cpp old mode 100755 new mode 100644 index 618ace720e..897414c21d --- a/src/common/msgout.cpp +++ b/src/common/msgout.cpp @@ -209,7 +209,7 @@ void wxMessageOutputLog::Output(const wxString& str) // wxMessageOutputMessageBox // ---------------------------------------------------------------------------- -#if wxUSE_GUI +#if wxUSE_GUI && wxUSE_MSGDLG void wxMessageOutputMessageBox::Output(const wxString& str) { @@ -222,7 +222,7 @@ void wxMessageOutputMessageBox::Output(const wxString& str) wxString title; if ( wxTheApp ) - title.Printf(_("%s message"), wxTheApp->GetAppName().c_str()); + title.Printf(_("%s message"), wxTheApp->GetAppDisplayName().c_str()); ::wxMessageBox(out, title); }