#include "wx/mac/private.h"
// helper class for HIAboutBox options
-class AboutBoxOptions : public wxMacCFRefHolder<CFMutableDictionaryRef>
+class AboutBoxOptions : public wxCFRef<CFMutableDictionaryRef>
{
public:
- AboutBoxOptions() : wxMacCFRefHolder<CFMutableDictionaryRef>
+ AboutBoxOptions() : wxCFRef<CFMutableDictionaryRef>
(
CFDictionaryCreateMutable
(
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());