pass parent argument of wxAboutBox to wxGenericAboutDialog ctor under GTK/Mac too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-04-26 15:28:31 +00:00
parent 7d7cb80036
commit 6b71941b4c

View File

@@ -245,7 +245,7 @@ void wxGenericAboutBox(const wxAboutDialogInfo& info, wxWindow* parent)
wxGenericAboutDialog dlg(info, parent);
dlg.ShowModal();
#else
wxGenericAboutDialog* dlg = new wxGenericAboutDialog(info);
wxGenericAboutDialog* dlg = new wxGenericAboutDialog(info, parent);
dlg->Show();
#endif
}