X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a977709b11432e05af48e205cc02c0a0ad4ecf16..10769d8c47c21fe0ec5034726791a5ad4cf19475:/include/wx/generic/dirctrlg.h diff --git a/include/wx/generic/dirctrlg.h b/include/wx/generic/dirctrlg.h index 4be293df3e..ec2b098c29 100644 --- a/include/wx/generic/dirctrlg.h +++ b/include/wx/generic/dirctrlg.h @@ -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);