#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));
}
};