From f43a398892d33b73319e009d5fb0228875f92f6f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 29 Aug 2012 12:17:31 +0000 Subject: [PATCH] avoid duplication in native dialog git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/aboutdlg.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osx/cocoa/aboutdlg.mm b/src/osx/cocoa/aboutdlg.mm index e7cb94b3f1..855fc9e259 100644 --- a/src/osx/cocoa/aboutdlg.mm +++ b/src/osx/cocoa/aboutdlg.mm @@ -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() ) -- 2.45.2