X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd3f8f5cf55bf0e71583417d4323bbc79b286070..4813bb8d72d4e6821e031f2b19baaa338b714d39:/src/mac/carbon/aboutdlg.cpp diff --git a/src/mac/carbon/aboutdlg.cpp b/src/mac/carbon/aboutdlg.cpp index 9cf251339a..4cdf9aed9d 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 ( @@ -48,7 +48,7 @@ public: void Set(CFStringRef key, const wxString& value) { - CFDictionarySetValue(*this, key, wxMacCFStringHolder(value)); + CFDictionarySetValue(*this, key, wxCFStringRef(value)); } }; @@ -61,6 +61,7 @@ void wxAboutBox(const wxAboutDialogInfo& info) // 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; @@ -78,6 +79,7 @@ void wxAboutBox(const wxAboutDialogInfo& info) HIAboutBox(opts); } else // simple "native" version is not enough +#endif { // we need to use the full-blown generic version wxGenericAboutBox(info);