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:
Olly Betts 2018-06-22 13:19:03 +12:00 committed by Vadim Zeitlin
parent d1175c00e1
commit e753dc6072

View File

@ -902,7 +902,8 @@ public:
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
be not displayed).
- @c wxTREE_ITEMSTATE_NEXT: to set the next item state.