X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/484523cf522b02385cd47c432d50d117940b46b9..d062e17fca1a1fc0b82b269da4a7ad271075ba2b:/samples/treectrl/treectrl.h diff --git a/samples/treectrl/treectrl.h b/samples/treectrl/treectrl.h index fc3d5931b3..3f89a72064 100644 --- a/samples/treectrl/treectrl.h +++ b/samples/treectrl/treectrl.h @@ -70,7 +70,10 @@ public: void OnBeginLabelEdit(wxTreeEvent& event); void OnEndLabelEdit(wxTreeEvent& event); void OnDeleteItem(wxTreeEvent& event); + void OnRMouseUp(wxMouseEvent& event); void OnGetInfo(wxTreeEvent& event); + void OnTreeRMouseClick(wxTreeEvent& event); + void OnItemRightClick(wxTreeEvent& event); void OnSetInfo(wxTreeEvent& event); void OnItemExpanded(wxTreeEvent& event); void OnItemExpanding(wxTreeEvent& event); @@ -94,6 +97,8 @@ public: void DoToggleIcon(const wxTreeItemId& item); + void ShowMenu(wxTreeItemId id, const wxPoint& pt); + protected: virtual int OnCompareItems(const wxTreeItemId& i1, const wxTreeItemId& i2);