X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51a5c8df7ce68ce57a58772afabcc65448307800..65fb4b3a4f18e1d8b58ac92d50d4cc7f81f03783:/samples/treectrl/treetest.h?ds=sidebyside diff --git a/samples/treectrl/treetest.h b/samples/treectrl/treetest.h index 90bbebb0da..8ea3334298 100644 --- a/samples/treectrl/treetest.h +++ b/samples/treectrl/treetest.h @@ -6,7 +6,7 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #define USE_GENERIC_TREECTRL 0 @@ -209,8 +209,11 @@ 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 OnSetFocusedRoot(wxCommandEvent& event); + void OnClearFocused(wxCommandEvent& event); void OnDelete(wxCommandEvent& event); void OnDeleteChildren(wxCommandEvent& event); void OnDeleteAll(wxCommandEvent& event); @@ -269,6 +272,7 @@ public: { DoShowRelativeItem(&wxTreeCtrl::GetNextSibling, "next sibling"); } void OnScrollTo(wxCommandEvent& event); + void OnSelectLast(wxCommandEvent& event); void OnIdle(wxIdleEvent& event); void OnSize(wxSizeEvent& event); @@ -354,6 +358,9 @@ enum TreeTest_Select, TreeTest_Unselect, TreeTest_SelectRoot, + TreeTest_ClearFocused, + TreeTest_SetFocusedRoot, + TreeTest_SelectChildren, TreeTest_ShowFirstVisible, TreeTest_ShowLastVisible, TreeTest_ShowNextVisible, @@ -362,5 +369,6 @@ enum TreeTest_ShowPrevSibling, TreeTest_ShowNextSibling, TreeTest_ScrollTo, + TreeTest_SelectLast, TreeTest_Ctrl = 1000 };