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:
parent
64f227605d
commit
7d7cb80036
@ -56,7 +56,7 @@ public:
|
|||||||
// implementation
|
// 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
|
// Mac native about box currently can show only name, version, copyright
|
||||||
// and description fields and we also shoehorn the credits text into the
|
// 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
|
else // simple "native" version is not enough
|
||||||
{
|
{
|
||||||
// we need to use the full-blown generic version
|
// we need to use the full-blown generic version
|
||||||
wxGenericAboutBox(info);
|
wxGenericAboutBox(info, parent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ public:
|
|||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
void wxAboutBox(const wxAboutDialogInfo& info)
|
void wxAboutBox(const wxAboutDialogInfo& info, wxWindow *parent)
|
||||||
{
|
{
|
||||||
// Mac native about box currently can show only name, version, copyright
|
// Mac native about box currently can show only name, version, copyright
|
||||||
// and description fields and we also shoehorn the credits text into the
|
// 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
|
else // simple "native" version is not enough
|
||||||
{
|
{
|
||||||
// we need to use the full-blown generic version
|
// we need to use the full-blown generic version
|
||||||
wxGenericAboutBox(info);
|
wxGenericAboutBox(info, parent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user