avoid duplication in native dialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2012-08-29 12:17:31 +00:00
parent 8556919437
commit f43a398892

View File

@@ -81,7 +81,8 @@ void wxAboutBox(const wxAboutDialogInfo& info, wxWindow *parent)
if ( info.HasVersion() )
{
opts.Set(CFSTR("Version"),info.GetVersion());
opts.Set(CFSTR("ApplicationVersion"),info.GetLongVersion());
if ( info.GetLongVersion() != (_("Version ")+info.GetVersion()))
opts.Set(CFSTR("ApplicationVersion"),info.GetLongVersion());
}
if ( info.HasCopyright() )