]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treebase.h
Call Expand on an item's parent chain in EnsureVisible
[wxWidgets.git] / include / wx / treebase.h
index 937b6584227ffbfe7a39efc0f55d6f964313ed21..a3a75922a5976613a0eac5c6918cd6a09cd35d68 100644 (file)
@@ -150,6 +150,11 @@ enum wxTreeItemIcon
     wxTreeItemIcon_Max
 };
 
     wxTreeItemIcon_Max
 };
 
+// special values for the 'state' parameter of wxTreeCtrl::SetItemState()
+static const int wxTREE_ITEMSTATE_NONE  = -1;   // not state (no display state image)
+static const int wxTREE_ITEMSTATE_NEXT  = -2;   // cycle to the next state
+static const int wxTREE_ITEMSTATE_PREV  = -3;   // cycle to the previous state
+
 // ----------------------------------------------------------------------------
 // wxTreeCtrl flags
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // wxTreeCtrl flags
 // ----------------------------------------------------------------------------