#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
(
void Set(CFStringRef key, const wxString& value)
{
- CFDictionarySetValue(*this, key, wxMacCFStringHolder(value));
+ CFDictionarySetValue(*this, key, wxCFStringRef(value));
}
};
// Mac native about box currently can show only name, version, copyright
// and description fields and we also shoehorn the credits text into the
// description but if we have anything else we must use the generic version
+#ifndef __LP64__
if ( info.IsSimple() )
{
AboutBoxOptions opts;
HIAboutBox(opts);
}
else // simple "native" version is not enough
+#endif
{
// we need to use the full-blown generic version
wxGenericAboutBox(info);