Improve wxTreeCtrl::SetItemState() docs
Make it clear that the state parameter can be an index into the state image list, not just one of the special values listed. Closes #18152.
This commit is contained in:
committed by
Vadim Zeitlin
parent
d1175c00e1
commit
e753dc6072
@@ -902,7 +902,8 @@ public:
|
|||||||
wxTreeItemIcon which = wxTreeItemIcon_Normal);
|
wxTreeItemIcon which = wxTreeItemIcon_Normal);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the specified item state. The value of @a state may be:
|
Sets the specified item state. The value of @a state may be an index
|
||||||
|
into the state image list, or one of the special values:
|
||||||
- @c wxTREE_ITEMSTATE_NONE: to disable the item state (the state image will
|
- @c wxTREE_ITEMSTATE_NONE: to disable the item state (the state image will
|
||||||
be not displayed).
|
be not displayed).
|
||||||
- @c wxTREE_ITEMSTATE_NEXT: to set the next item state.
|
- @c wxTREE_ITEMSTATE_NEXT: to set the next item state.
|
||||||
|
Reference in New Issue
Block a user