Borland still hates ternary ?

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2008-05-24 17:24:38 +00:00
parent ec8bb9248e
commit 997c7e4616

View File

@@ -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);
}