]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/aboutdlg.mm
applying patch, fixes #10524
[wxWidgets.git] / src / osx / cocoa / aboutdlg.mm
index 553094bf1807e083456cf31e32b5d8764410626b..9c702e9d551f8a8cef333637f052b23fb7d9e424 100644 (file)
@@ -62,7 +62,7 @@ public:
 
     void SetAttributedString( CFStringRef key, const wxString& value )
     {
-          wxCFRef<CFAttributedStringRef> attrString( 
+          wxCFRef<CFAttributedStringRef> 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());