]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
fixed (rare but fatal) bug in wxWindowDisabler
[wxWidgets.git] / src / generic / wizard.cpp
index 34ef1e74952d6915c3b9cdca9364721e45155376..fdd9dc7a8ccbca1d4a4336f3fc0d10edd6d54b0c 100644 (file)
@@ -185,7 +185,7 @@ wxWizard::wxWizard(wxWindow *parent,
 
     if ( pos == wxDefaultPosition )
     {
-        Centre();
+        CentreOnScreen();
     }
 }