added missing parent parameter to Cocoa version of wxAboutBox(); also pass it to the generic version in both Cocoa and Carbon versions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-04-26 14:59:36 +00:00
parent 64f227605d
commit 7d7cb80036
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ public:
// implementation
// ============================================================================
void wxAboutBox(const wxAboutDialogInfo& info, wxWindow* WXUNUSED(parent))
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
@ -84,7 +84,7 @@ void wxAboutBox(const wxAboutDialogInfo& info, wxWindow* WXUNUSED(parent))
else // simple "native" version is not enough
{
// we need to use the full-blown generic version
wxGenericAboutBox(info);
wxGenericAboutBox(info, parent);
}
}

View File

@ -72,7 +72,7 @@ public:
// 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
@ -101,7 +101,7 @@ void wxAboutBox(const wxAboutDialogInfo& info)
else // simple "native" version is not enough
{
// we need to use the full-blown generic version
wxGenericAboutBox(info);
wxGenericAboutBox(info, parent);
}
}