X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cbfc9df6768069f770bf8299fc0e6f528a92d4a8..fe45b493dcc42fea4ad4f781a4fb7844d2e95fd0:/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 );