]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.h
Add wxTreeCtrl::{Clear,Set}FocusedItem().
[wxWidgets.git] / samples / treectrl / treetest.h
index 50db3d92e394e503a14fe18014ac5b4222d64420..645e0d0668ef506318dcd336e577fbee3f1b6e22 100644 (file)
@@ -212,6 +212,8 @@ public:
     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);
@@ -355,6 +357,8 @@ enum
     TreeTest_Select,
     TreeTest_Unselect,
     TreeTest_SelectRoot,
+    TreeTest_ClearFocused,
+    TreeTest_SetFocusedRoot,
     TreeTest_SelectChildren,
     TreeTest_ShowFirstVisible,
     TreeTest_ShowLastVisible,