]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
hopefully fixed strings.h mess completely now by not including it unless really neede...
[wxWidgets.git] / include / wx / msw / treectrl.h
index e19e87a1a14ee506e6aa02d160d94ada823b02c9..4a0a5278f8ca28eebdb01e1fd7f2f60ceb788af2 100644 (file)
@@ -317,7 +317,12 @@ public:
         // unselect all items (only makes sense for multiple selection control)
     void UnselectAll();
         // select this item
-    void SelectItem(const wxTreeItemId& item);
+    void SelectItem(const wxTreeItemId& item, bool select = true);
+        // unselect this item
+    void UnselectItem(const wxTreeItemId& item);
+        // toggle item selection
+    void ToggleItemSelection(const wxTreeItemId& item);
+
         // make sure this item is visible (expanding the parent item and/or
         // scrolling to this item if necessary)
     void EnsureVisible(const wxTreeItemId& item);
@@ -403,6 +408,8 @@ public:
                                             long& cookie) const );
 #endif // WXWIN_COMPATIBILITY_2_4
 
+    virtual bool ShouldInheritColours() const { return false; }
+
     // implementation
     // --------------