// 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
};
//-----------------------------------------------------------------------------
// 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);
#define wxDirCtrl wxGenericDirCtrl
#endif
+// Symbols for accessing individual controls
+#define wxID_TREECTRL 7000
+#define wxID_FILTERLISTCTRL 7001
+
#endif // wxUSE_DIRDLG
#endif