include 'Version' in version string, it's what Apple apps do

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2008-03-12 21:28:21 +00:00
parent fd3a0ca9e1
commit 5e4e03e9f9

View File

@ -69,7 +69,10 @@ void wxAboutBox(const wxAboutDialogInfo& info)
opts.Set(kHIAboutBoxNameKey, info.GetName());
if ( info.HasVersion() )
opts.Set(kHIAboutBoxVersionKey, info.GetVersion());
{
opts.Set(kHIAboutBoxVersionKey,
wxString::Format(_("Version %s"), info.GetVersion()));
}
if ( info.HasCopyright() )
opts.Set(kHIAboutBoxCopyrightKey, info.GetCopyright());