From: Vadim Zeitlin Date: Sun, 26 Apr 2009 15:28:31 +0000 (+0000) Subject: pass parent argument of wxAboutBox to wxGenericAboutDialog ctor under GTK/Mac too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6b71941b4ca304ae8110d70a613533ab3bfd4492 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 --- diff --git a/src/generic/aboutdlgg.cpp b/src/generic/aboutdlgg.cpp index a30e613070..70f1582622 100644 --- a/src/generic/aboutdlgg.cpp +++ b/src/generic/aboutdlgg.cpp @@ -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 }