]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/aboutdlgg.cpp
simplify code by removing workaround not needed any longer after fix of r60910 (see...
[wxWidgets.git] / 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
 }