]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treectrl.h
Refactor listbox event sending code to avoid duplication.
[wxWidgets.git] / include / wx / treectrl.h
index fe8b7f1fb62ed8bc3d2c8aa82650872023f7c544..7b2d71c6e2d639cde909e342b78f024fe19d2cbf 100644 (file)
@@ -214,6 +214,13 @@ public:
         // equivalent to GetSelection() if not wxTR_MULTIPLE
     virtual wxTreeItemId GetFocusedItem() const = 0;
 
+
+        // Clears the currently focused item
+    virtual void ClearFocusedItem() = 0;
+        // Sets the currently focused item. Item should be valid
+    virtual void SetFocusedItem(const wxTreeItemId& item) = 0;
+
+
         // get the parent of this item (may return NULL if root)
     virtual wxTreeItemId GetItemParent(const wxTreeItemId& item) const = 0;