From e753dc607214e5391a0d0a19e1f1bffd04a080cb Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Fri, 22 Jun 2018 13:19:03 +1200 Subject: [PATCH] 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. --- interface/wx/treectrl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/wx/treectrl.h b/interface/wx/treectrl.h index c7738861d4..246165055d 100644 --- a/interface/wx/treectrl.h +++ b/interface/wx/treectrl.h @@ -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.