|
Public Member Functions |
| DirectoryTree (wxWindow *wndParent, const wxWindowID id=wxID_ANY, const wxPoint &pntPosition=wxDefaultPosition, const wxSize &siz=wxDefaultSize, long nStyle=wxNO_BORDER|wxTR_HAS_BUTTONS) |
void | OnLeftMouseDown (wxMouseEvent &evt) |
void | OnItemExpanded (wxTreeEvent &evt) |
void | OnSetPath (shSetPathEvent &evt) |
void | OnToWastebin (shToWastebinEvent &evt) |
void | OnDelete (shDeleteEvent &evt) |
void | OnCreate (shCreateEvent &evt) |
wxString | GetPath () |
void | SetShowHidden (bool bNewShowHidden, bool bUpdate) |
Private Member Functions |
void | InitTree () |
wxTreeItemId | PopulatePath (const wxString &sPath) |
void | AddChildren (const wxTreeItemId &tid) |
wxTreeItemId | AddChild (const wxTreeItemId &tidParent, const wxString &sPath) |
void | RemoveItem (const wxString &sPath) |
void | SetPath (const wxString &sNewPath) |
void | DoSelection (wxTreeItemId &tid) |
wxTreeItemId | GetItemFromPath (const wxString &sPath, bool bReturnBestFit=false) |
wxTreeItemId | GetChildByName (wxTreeItemId &tidParent, const wxString &sName) |
bool | GetItemPath (wxTreeItemId tid, wxString &sPath) |
bool | IsAncestorOf (wxTreeItemId tidPutativeAncestor, wxTreeItemId tid) |
wxTreeItemId | GetRootItem (const wxString &sPath) |
Private Attributes |
wxImageList | m_imlButtons |
wxImageList | m_iml |
bool | m_bShowHidden |
wxWindow * | m_wndParent |