X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb8dcb05283b9ccfd130eeb0bdae24b6615d5ce8..e413198572959f013fc2537a3c8cc184c9ac820d:/src/osx/cocoa/aboutdlg.mm?ds=inline diff --git a/src/osx/cocoa/aboutdlg.mm b/src/osx/cocoa/aboutdlg.mm index 553094bf18..9c702e9d55 100644 --- a/src/osx/cocoa/aboutdlg.mm +++ b/src/osx/cocoa/aboutdlg.mm @@ -62,7 +62,7 @@ public: void SetAttributedString( CFStringRef key, const wxString& value ) { - wxCFRef attrString( + wxCFRef attrString( CFAttributedStringCreate(kCFAllocatorDefault, wxCFStringRef(value), NULL) ); CFDictionarySetValue(*this, key, attrString); } @@ -92,7 +92,7 @@ void wxAboutBox(const wxAboutDialogInfo& info) } if ( info.HasCopyright() ) - opts.Set(CFSTR("Copyright"), info.GetCopyright()); + opts.Set(CFSTR("Copyright"), info.GetCopyrightToDisplay()); opts.SetAttributedString(CFSTR("Credits"), info.GetDescriptionAndCredits());