]> git.saurik.com Git - wxWidgets.git/commitdiff
pass parent argument of wxAboutBox to wxGenericAboutDialog ctor under GTK/Mac too
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Apr 2009 15:28:31 +0000 (15:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Apr 2009 15:28:31 +0000 (15:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/aboutdlgg.cpp

index a30e6130706ffa9a3b1de622ac9bc54da33389fd..70f158262270c1a6591efdac29d8d1c8fa2d0dba 100644 (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
 }