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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user