X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5cfb5f66afdb90a15a6c29fa3085d3c902e69e56..d8eff331e23435d9d8d6483a40f6fd9997a13f87:/samples/treectrl/treetest.h diff --git a/samples/treectrl/treetest.h b/samples/treectrl/treetest.h index c9c692eb73..50db3d92e3 100644 --- a/samples/treectrl/treetest.h +++ b/samples/treectrl/treetest.h @@ -209,6 +209,7 @@ public: void OnSelect(wxCommandEvent& event); void OnUnselect(wxCommandEvent& event); void OnToggleSel(wxCommandEvent& event); + void OnSelectChildren(wxCommandEvent& event); #endif // NO_MULTIPLE_SELECTION void OnSelectRoot(wxCommandEvent& event); void OnDelete(wxCommandEvent& event); @@ -268,6 +269,8 @@ public: void OnShowNextSibling(wxCommandEvent& WXUNUSED(event)) { DoShowRelativeItem(&wxTreeCtrl::GetNextSibling, "next sibling"); } + void OnScrollTo(wxCommandEvent& event); + void OnIdle(wxIdleEvent& event); void OnSize(wxSizeEvent& event); @@ -352,6 +355,7 @@ enum TreeTest_Select, TreeTest_Unselect, TreeTest_SelectRoot, + TreeTest_SelectChildren, TreeTest_ShowFirstVisible, TreeTest_ShowLastVisible, TreeTest_ShowNextVisible, @@ -359,5 +363,6 @@ enum TreeTest_ShowParent, TreeTest_ShowPrevSibling, TreeTest_ShowNextSibling, + TreeTest_ScrollTo, TreeTest_Ctrl = 1000 };