X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbe4a80c57a77b249ef32117efe9fd923066f958..8064223b7b1b3657363b7a635c381b9269d95e55:/src/mac/carbon/aboutdlg.cpp?ds=sidebyside diff --git a/src/mac/carbon/aboutdlg.cpp b/src/mac/carbon/aboutdlg.cpp index 27fe123bf8..243de8b7d7 100644 --- a/src/mac/carbon/aboutdlg.cpp +++ b/src/mac/carbon/aboutdlg.cpp @@ -30,10 +30,10 @@ #include "wx/mac/private.h" // helper class for HIAboutBox options -class AboutBoxOptions : public wxMacCFRefHolder +class AboutBoxOptions : public wxCFRef { public: - AboutBoxOptions() : wxMacCFRefHolder + AboutBoxOptions() : wxCFRef ( CFDictionaryCreateMutable ( @@ -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());