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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-03-12 21:28:03 +00:00
parent 0cdffad26b
commit 3c61f2e3ab

View File

@@ -68,7 +68,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().c_str()));
}
if ( info.HasCopyright() )
opts.Set(kHIAboutBoxCopyrightKey, info.GetCopyright());