]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/aboutdlg.mm
fixing class
[wxWidgets.git] / src / osx / cocoa / aboutdlg.mm
index 70d29090c98c8f8f71e65a4b6791907e2046831f..855fc9e259e7b317b9f5b9cca835682e7f6a641f 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        osx/cocoa/aboutdlg.cpp
+// Name:        src/osx/cocoa/aboutdlg.mm
 // Purpose:     native wxAboutBox() implementation for wxMac
 // Author:      Vadim Zeitlin
 // Created:     2006-10-08
@@ -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() )