X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef46ef23cb8aa259ea8b8894ad6a2254b57db31a..9e15c94f41c8cdf42470d318269e48e90d6ba75e:/samples/treectrl/treetest.h diff --git a/samples/treectrl/treetest.h b/samples/treectrl/treetest.h index 778be3b787..24d3320887 100644 --- a/samples/treectrl/treetest.h +++ b/samples/treectrl/treetest.h @@ -76,7 +76,6 @@ public: 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); @@ -86,6 +85,10 @@ public: 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, @@ -124,6 +127,8 @@ private: 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() @@ -226,6 +231,7 @@ private: void CreateTreeWithDefStyle(); void CreateTree(long style); + wxPanel *m_panel; MyTreeCtrl *m_treeCtrl; #if wxUSE_LOG wxTextCtrl *m_textCtrl;