]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.h
wxStaticBitmapBase::DoGetBestSize
[wxWidgets.git] / samples / treectrl / treetest.h
index 64879f66416935c309c7788f84e8978b045f1f83..de2e09acb11f5f71a746cfa57d64c8f94df1d87b 100644 (file)
@@ -179,6 +179,7 @@ public:
     void OnUnselect(wxCommandEvent& event);
     void OnToggleSel(wxCommandEvent& event);
 #endif // NO_MULTIPLE_SELECTION
+    void OnSelectRoot(wxCommandEvent& event);
     void OnDelete(wxCommandEvent& event);
     void OnDeleteChildren(wxCommandEvent& event);
     void OnDeleteAll(wxCommandEvent& event);
@@ -198,8 +199,8 @@ public:
     void OnCountRec(wxCommandEvent& event);
 
     void OnRename(wxCommandEvent& event);
-    void OnSort(wxCommandEvent& event) { DoSort(); }
-    void OnSortRev(wxCommandEvent& event) { DoSort(TRUE); }
+    void OnSort(wxCommandEvent& WXUNUSED(event)) { DoSort(); }
+    void OnSortRev(wxCommandEvent& WXUNUSED(event)) { DoSort(TRUE); }
 
     void OnAddItem(wxCommandEvent& event);
     void OnInsertItem(wxCommandEvent& event);
@@ -277,5 +278,6 @@ enum
     TreeTest_ToggleIcon,
     TreeTest_Select,
     TreeTest_Unselect,
+    TreeTest_SelectRoot,
     TreeTest_Ctrl = 1000
 };