#if wxUSE_ABOUTDLG
#ifndef WX_PRECOMP
+ #include "wx/msgdlg.h"
#endif //WX_PRECOMP
#include "wx/aboutdlg.h"
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');
// 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
{