X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a91cf80c60aa43454a65a7a0c8db92b168848b98..e37a28a0de36b98a02e03ea11c9a75a38d65ae10:/include/wx/msw/dialog.h diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index 9e13ae773f..3a779079b4 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -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();