]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.h
missing commit, fixes #14797
[wxWidgets.git] / samples / treectrl / treetest.h
index 50db3d92e394e503a14fe18014ac5b4222d64420..8c29d7e2e93d6de12ead00590f6f733028832069 100644 (file)
@@ -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
@@ -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);
@@ -220,6 +222,7 @@ public:
     void OnToggleButtons(wxCommandEvent& event);
     void OnToggleImages(wxCommandEvent& event);
     void OnToggleStates(wxCommandEvent& event);
+    void OnToggleBell(wxCommandEvent& event);
     void OnToggleAlternateImages(wxCommandEvent& event);
     void OnToggleAlternateStates(wxCommandEvent& event);
     void OnSetImageSize(wxCommandEvent& event);
@@ -270,6 +273,7 @@ public:
         { DoShowRelativeItem(&wxTreeCtrl::GetNextSibling, "next sibling"); }
 
     void OnScrollTo(wxCommandEvent& event);
+    void OnSelectLast(wxCommandEvent& event);
 
     void OnIdle(wxIdleEvent& event);
     void OnSize(wxSizeEvent& event);
@@ -336,6 +340,7 @@ enum
     TreeTest_Recreate,
     TreeTest_ToggleImages,
     TreeTest_ToggleStates,
+    TreeTest_ToggleBell,
     TreeTest_ToggleAlternateImages,
     TreeTest_ToggleAlternateStates,
     TreeTest_ToggleButtons,
@@ -355,6 +360,8 @@ enum
     TreeTest_Select,
     TreeTest_Unselect,
     TreeTest_SelectRoot,
+    TreeTest_ClearFocused,
+    TreeTest_SetFocusedRoot,
     TreeTest_SelectChildren,
     TreeTest_ShowFirstVisible,
     TreeTest_ShowLastVisible,
@@ -364,5 +371,6 @@ enum
     TreeTest_ShowPrevSibling,
     TreeTest_ShowNextSibling,
     TreeTest_ScrollTo,
+    TreeTest_SelectLast,
     TreeTest_Ctrl = 1000
 };