X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0a050e347b1ece07ad5f165ba1b1d16edbeae77..cc24bf919256e8e1d317dbb8e67df6d007d641ea:/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); }