+MustHaveApp(wxGenericDirCtrl);
+
class wxGenericDirCtrl: public wxControl
{
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,
// Try to expand as much of the given path as possible.
virtual bool ExpandPath(const wxString& path);
-
+ // collapse the path
+ virtual bool CollapsePath(const wxString& path);
virtual inline wxString GetDefaultPath() const;
virtual void SetDefaultPath(const wxString& path);
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
+MustHaveApp(wxDirFilterListCtrl);
+
class wxDirFilterListCtrl: public wxChoice
{
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,