]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/aboutdlg.cpp
Performance optimization
[wxWidgets.git] / src / mac / carbon / aboutdlg.cpp
index 191598e543e318f3c8eec3e9ad8501aeec6668cb..4cdf9aed9d380012760d82fe8996d732bf8cdb45 100644 (file)
 #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
                           (
@@ -48,7 +48,7 @@ public:
 
     void Set(CFStringRef key, const wxString& value)
     {
-        CFDictionarySetValue(*this, key, wxMacCFStringHolder(value));
+        CFDictionarySetValue(*this, key, wxCFStringRef(value));
     }
 };