]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dirctrlg.h
SWIGged updates for wxGTK
[wxWidgets.git] / include / wx / generic / dirctrlg.h
index 4be293df3e21c03ff85441899432e23684a0a3e6..ec2b098c2967f0303ab889e62f2e827e2b179293 100644 (file)
@@ -45,7 +45,9 @@ enum
     // Show the filter list
     wxDIRCTRL_SHOW_FILTERS   = 0x0040,
     // Use 3D borders on internal controls
-    wxDIRCTRL_3D_INTERNAL    = 0x0080
+    wxDIRCTRL_3D_INTERNAL    = 0x0080,
+    // Editable labels
+    wxDIRCTRL_EDIT_LABELS    = 0x0100
 };
 
 //-----------------------------------------------------------------------------
@@ -155,8 +157,12 @@ public:
     // Resize the components of the control
     void DoResize();
     
+    // Collapse & expand the tree, thus re-creating it from scratch:
+    void ReCreateTree();
+    
 protected:
     void ExpandDir(wxTreeItemId parentId);
+    void CollapseDir(wxTreeItemId parentId);
     void AddSection(const wxString& path, const wxString& name, int imageId = 0);
     //void FindChildFiles(wxTreeItemId id, int dirFlags, wxArrayString& filenames);