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:
@@ -195,7 +195,8 @@ void wxMessageOutputMessageBox::Output(const wxString& str)
|
|||||||
out.Replace(wxT("\t"), wxT(" "));
|
out.Replace(wxT("\t"), wxT(" "));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxString title = wxTheApp ? wxTheApp->GetAppDisplayName() : wxT("wxWidgets");
|
wxString title = wxT("wxWidgets") ;
|
||||||
|
if (wxTheApp) title = wxTheApp->GetAppDisplayName();
|
||||||
|
|
||||||
::wxMessageBox(out, title);
|
::wxMessageBox(out, title);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user