void OnEndLabelEdit(wxTreeEvent& event);
void OnDeleteItem(wxTreeEvent& event);
void OnContextMenu(wxContextMenuEvent& event);
+ void OnItemMenu(wxTreeEvent& event);
void OnGetInfo(wxTreeEvent& event);
- void OnTreeRMouseClick(wxTreeEvent& event);
void OnSetInfo(wxTreeEvent& event);
void OnItemExpanded(wxTreeEvent& event);
void OnItemExpanding(wxTreeEvent& event);
void OnSelChanging(wxTreeEvent& event);
void OnTreeKeyDown(wxTreeEvent& event);
void OnItemActivated(wxTreeEvent& event);
+ void OnItemRClick(wxTreeEvent& event);
+
+ void OnRMouseDown(wxMouseEvent& event);
+ void OnRMouseUp(wxMouseEvent& event);
void OnRMouseDClick(wxMouseEvent& event);
void GetItemsRecursively(const wxTreeItemId& idParent,
size_t depth,
size_t folder);
+ void LogEvent(const wxChar *name, const wxTreeEvent& event);
+
int m_imageSize; // current size of images
bool m_reverseSort; // flag for OnCompareItems
wxTreeItemId m_lastItem, // for OnEnsureVisible()
void CreateTreeWithDefStyle();
void CreateTree(long style);
+ wxPanel *m_panel;
MyTreeCtrl *m_treeCtrl;
#if wxUSE_LOG
wxTextCtrl *m_textCtrl;
// menu and control ids
enum
{
- TreeTest_Quit,
- TreeTest_About,
- TreeTest_TogButtons,
+ TreeTest_Quit = wxID_EXIT,
+ TreeTest_About = wxID_ABOUT,
+ TreeTest_TogButtons = wxID_HIGHEST,
TreeTest_TogTwist,
TreeTest_TogLines,
TreeTest_TogEdit,