X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c06359e617e99d2d3d8ce8798fcec2ccb4a6c59b..05d31b3aca84298974766d6021738fb64961a36b:/src/msw/aboutdlg.cpp?ds=sidebyside diff --git a/src/msw/aboutdlg.cpp b/src/msw/aboutdlg.cpp index 1d8823b816..ff27b3ad00 100644 --- a/src/msw/aboutdlg.cpp +++ b/src/msw/aboutdlg.cpp @@ -49,8 +49,12 @@ void wxAboutBox(const wxAboutDialogInfo& info) wxString msg; msg << name; if ( info.HasVersion() ) - msg << _(" Version ") << info.GetVersion(); - msg << _T('\n'); + { + msg << _T('\n'); + msg << wxString::Format(_("Version %s"), info.GetVersion()); + } + + msg << _T("\n\n"); if ( info.HasCopyright() ) msg << info.GetCopyright() << _T('\n'); @@ -58,7 +62,7 @@ void wxAboutBox(const wxAboutDialogInfo& info) // add everything remaining msg << info.GetDescriptionAndCredits(); - wxMessageBox(msg, _("About ") + name); + wxMessageBox(msg, wxString::Format(_("About %s"), name)); } else // simple "native" version is not enough {