]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dialog.h
The standalone PyShell and PyCrust apps need to set the focus to the
[wxWidgets.git] / include / wx / msw / dialog.h
index 9e13ae773fa3049152c599f84859369aa3f163ea..3a779079b4e08191d675151d66d43b81df5f3624 100644 (file)
@@ -74,7 +74,7 @@ public:
     // -------------------------------
 
     // override some base class virtuals
-    virtual bool Show(bool show);
+    virtual bool Show(bool show = TRUE);
 
     // event handlers
     bool OnClose();
@@ -98,6 +98,12 @@ public:
 #endif // wxUSE_CTL3D
 
 protected:
+    // find the window to use as parent for this dialog if none has been
+    // specified explicitly by the user
+    //
+    // may return NULL
+    wxWindow *FindSuitableParent() const;
+
     // show modal dialog and enter modal loop
     void DoShowModal();