]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.h
Made wxEditor constructor args consistent with other window classes
[wxWidgets.git] / samples / treectrl / treetest.h
index dec33dc30a8434864c1b3d1e152facdf31df8414..0c0cd5739568b5b76265b694fdd5e7bd1972ab39 100644 (file)
@@ -34,7 +34,10 @@ public:
     enum
     {
         TreeCtrlIcon_File,
-        TreeCtrlIcon_Folder
+        TreeCtrlIcon_FileSelected,
+        TreeCtrlIcon_Folder,
+        TreeCtrlIcon_FolderSelected,
+        TreeCtrlIcon_FolderOpened
     };
 
     MyTreeCtrl() { }
@@ -127,11 +130,15 @@ public:
 
     void OnEnsureVisible(wxCommandEvent& event);
 
+    void OnCount(wxCommandEvent& event);
+    void OnCountRec(wxCommandEvent& event);
+
     void OnRename(wxCommandEvent& event);
     void OnSort(wxCommandEvent& event) { DoSort(); }
     void OnSortRev(wxCommandEvent& event) { DoSort(TRUE); }
 
     void OnAddItem(wxCommandEvent& event);
+    void OnInsertItem(wxCommandEvent& event);
 
     void OnIncIndent(wxCommandEvent& event);
     void OnDecIndent(wxCommandEvent& event);
@@ -158,6 +165,8 @@ enum
     TreeTest_About,
     TreeTest_Dump,
     TreeTest_DumpSelected,
+    TreeTest_Count,
+    TreeTest_CountRec,
     TreeTest_Sort,
     TreeTest_SortRev,
     TreeTest_Bold,
@@ -170,6 +179,7 @@ enum
     TreeTest_CollapseAndReset,
     TreeTest_EnsureVisible,
     TreeTest_AddItem,
+    TreeTest_InsertItem,
     TreeTest_IncIndent,
     TreeTest_DecIndent,
     TreeTest_IncSpacing,