]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use implicit parent for the progress dialogs
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Nov 2001 22:55:16 +0000 (22:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Nov 2001 22:55:16 +0000 (22:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/progdlgg.cpp

index 94109c5660157d515ff71887c3ae7a598f314cf9..cbccd89a6121bd5be0042194bbbe1f2b44fcae48 100644 (file)
@@ -87,7 +87,9 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
                                    int maximum,
                                    wxWindow *parent,
                                    int style)
-                : wxDialog(parent, -1, title)
+                : wxDialog(parent, -1, title,
+                           wxDefaultPosition, wxDefaultSize,
+                           wxDEFAULT_DIALOG_STYLE | wxDIALOG_NO_PARENT)
 {
     m_windowStyle |= style;