X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..260c9c7df3a2968f93a4c474024c60b425fdea12:/wxPython/src/_dirctrl.i?ds=inline diff --git a/wxPython/src/_dirctrl.i b/wxPython/src/_dirctrl.i index 8d207caf65..79a2d72a2a 100644 --- a/wxPython/src/_dirctrl.i +++ b/wxPython/src/_dirctrl.i @@ -54,11 +54,13 @@ public: +MustHaveApp(wxGenericDirCtrl); + class wxGenericDirCtrl: public wxControl { public: - %addtofunc wxGenericDirCtrl "self._setOORInfo(self)" - %addtofunc wxGenericDirCtrl() "" + %pythonAppend wxGenericDirCtrl "self._setOORInfo(self)" + %pythonAppend wxGenericDirCtrl() "" wxGenericDirCtrl(wxWindow *parent, const wxWindowID id = -1, const wxString& dir = wxPyDirDialogDefaultFolderStr, @@ -68,7 +70,7 @@ public: const wxString& filter = wxPyEmptyString, int defaultFilter = 0, const wxString& name = wxPyTreeCtrlNameStr); - %name(PreGenericDirCtrl)wxGenericDirCtrl(); + %RenameCtor(PreGenericDirCtrl, wxGenericDirCtrl()); bool Create(wxWindow *parent, const wxWindowID id = -1, @@ -118,9 +120,11 @@ public: DocDeclAStr( virtual wxTreeItemId, FindChild(wxTreeItemId parentId, const wxString& path, bool& OUTPUT), "FindChild(wxTreeItemId parentId, wxString path) -> (item, done)", - "Find the child that matches the first part of 'path'. E.g. if a child path is\n" - "\"/usr\" and 'path' is \"/usr/include\" then the child for /usr is returned.\n" - "If the path string has been used (we're at the leaf), done is set to True\n"); + "Find the child that matches the first part of 'path'. E.g. if a child +path is \"/usr\" and 'path' is \"/usr/include\" then the child for +/usr is returned. If the path string has been used (we're at the +leaf), done is set to True. +", ""); // Resize the components of the control @@ -134,17 +138,19 @@ public: +MustHaveApp(wxDirFilterListCtrl); + class wxDirFilterListCtrl: public wxChoice { public: - %addtofunc wxDirFilterListCtrl "self._setOORInfo(self)" - %addtofunc wxDirFilterListCtrl() "" + %pythonAppend wxDirFilterListCtrl "self._setOORInfo(self)" + %pythonAppend wxDirFilterListCtrl() "" wxDirFilterListCtrl(wxGenericDirCtrl* parent, const wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0); - %name(PreDirFilterListCtrl)wxDirFilterListCtrl(); + %RenameCtor(PreDirFilterListCtrl, wxDirFilterListCtrl()); bool Create(wxGenericDirCtrl* parent, const wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,