X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ba3af91ab308397713de2cb47e685b67c033d17..41d4305cd3e52c9d4ab8ecae342f10df9a0c46e7:/wxPython/src/_cmndlgs.i diff --git a/wxPython/src/_cmndlgs.i b/wxPython/src/_cmndlgs.i index 9986f9720c..764189d967 100644 --- a/wxPython/src/_cmndlgs.i +++ b/wxPython/src/_cmndlgs.i @@ -125,7 +125,8 @@ MustHaveApp(wxDirDialog); class wxDirDialog : public wxDialog { public: %pythonAppend wxDirDialog "self._setOORInfo(self)" - + %pythonAppend wxDirDialog() "" + DocCtorStr( wxDirDialog(wxWindow* parent, const wxString& message = wxPyDirSelectorPromptStr, @@ -136,6 +137,15 @@ public: const wxString& name = wxPyDirDialogNameStr), "Constructor. Use ShowModal method to show the dialog.", ""); + %RenameCtor(PreDirDialog, wxDirDialog()); + + bool Create(wxWindow *parent, + const wxString& title = wxDirSelectorPromptStr, + const wxString& defaultPath = wxEmptyString, + long style = wxDD_DEFAULT_STYLE, + const wxPoint& pos = wxDefaultPosition, + const wxSize& sz = wxDefaultSize, + const wxString& name = wxPyDirDialogNameStr); DocDeclStr( wxString , GetPath(), @@ -145,10 +155,6 @@ public: wxString , GetMessage(), "Returns the message that will be displayed on the dialog.", ""); - DocDeclStr( - long , GetStyle(), - "Returns the dialog style.", ""); - DocDeclStr( void , SetMessage(const wxString& message), "Sets the message that will be displayed on the dialog.", "");