X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/784ee7d511ddec88c2a53c1b50c85850eb341dc6..96ca74cdda2a8ed485facb45de263e5b7b51d7be:/src/common/msgout.cpp?ds=inline diff --git a/src/common/msgout.cpp b/src/common/msgout.cpp index e6a471d9b3..da9af7b1d9 100644 --- a/src/common/msgout.cpp +++ b/src/common/msgout.cpp @@ -195,7 +195,8 @@ void wxMessageOutputMessageBox::Output(const wxString& str) out.Replace(wxT("\t"), wxT(" ")); #endif - wxString title = wxTheApp ? wxTheApp->GetAppDisplayName() : wxT("wxWidgets"); + wxString title = wxT("wxWidgets") ; + if (wxTheApp) title = wxTheApp->GetAppDisplayName(); ::wxMessageBox(out, title); }