X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd3f8f5cf55bf0e71583417d4323bbc79b286070..dc813e6c7ef8a9a26c035b004b512e1aa1b0bf3f:/src/msw/aboutdlg.cpp?ds=inline diff --git a/src/msw/aboutdlg.cpp b/src/msw/aboutdlg.cpp index 473158c6b8..5f556453fe 100644 --- a/src/msw/aboutdlg.cpp +++ b/src/msw/aboutdlg.cpp @@ -26,6 +26,7 @@ #if wxUSE_ABOUTDLG #ifndef WX_PRECOMP + #include "wx/msgdlg.h" #endif //WX_PRECOMP #include "wx/aboutdlg.h" @@ -48,16 +49,20 @@ 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'); + msg << info.GetCopyrightToDisplay() << _T('\n'); // add everything remaining msg << info.GetDescriptionAndCredits(); - wxMessageBox(msg, _T("About ") + name); + wxMessageBox(msg, wxString::Format(_("About %s"), name)); } else // simple "native" version is not enough {