X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cbfc9df6768069f770bf8299fc0e6f528a92d4a8..0b0849b5a5d530095bc0da325d0a7a2101ddb0d6:/wxPython/src/_toplvl.i diff --git a/wxPython/src/_toplvl.i b/wxPython/src/_toplvl.i index 61a7e8ce60..a75afc47b8 100644 --- a/wxPython/src/_toplvl.i +++ b/wxPython/src/_toplvl.i @@ -382,6 +382,10 @@ public: void SetEscapeId(int escapeId); int GetEscapeId() const; + // Returns the parent to use for modal dialogs if the user did not specify it + // explicitly + wxWindow *GetParentForModalDialog(wxWindow *parent = NULL) const; + // splits text up at newlines and places the // lines into a vertical wxBoxSizer wxSizer* CreateTextSizer( const wxString &message );