void SetAttributedString( CFStringRef key, const wxString& value )
{
- wxCFRef<CFAttributedStringRef> attrString(
+ wxCFRef<CFAttributedStringRef> attrString(
CFAttributedStringCreate(kCFAllocatorDefault, wxCFStringRef(value), NULL) );
CFDictionarySetValue(*this, key, attrString);
}
// implementation
// ============================================================================
-void wxAboutBox(const wxAboutDialogInfo& info)
+void wxAboutBox(const wxAboutDialogInfo& info, wxWindow *parent)
{
// Mac native about box currently can show only name, version, copyright
// and description fields and we also shoehorn the credits text into the
}
if ( info.HasCopyright() )
- opts.Set(CFSTR("Copyright"), info.GetCopyright());
+ opts.Set(CFSTR("Copyright"), info.GetCopyrightToDisplay());
opts.SetAttributedString(CFSTR("Credits"), info.GetDescriptionAndCredits());
else // simple "native" version is not enough
{
// we need to use the full-blown generic version
- wxGenericAboutBox(info);
+ wxGenericAboutBox(info, parent);
}
}