X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..c437fde9f90fc7dfcac79053d214fc9146d7be21:/wxPython/src/_dirctrl.i diff --git a/wxPython/src/_dirctrl.i b/wxPython/src/_dirctrl.i index b9b7699ba4..79a2d72a2a 100644 --- a/wxPython/src/_dirctrl.i +++ b/wxPython/src/_dirctrl.i @@ -54,6 +54,8 @@ public: +MustHaveApp(wxGenericDirCtrl); + class wxGenericDirCtrl: public wxControl { public: @@ -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,6 +138,8 @@ public: +MustHaveApp(wxDirFilterListCtrl); + class wxDirFilterListCtrl: public wxChoice { public: @@ -144,7 +150,7 @@ public: 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,