From: Robin Dunn Date: Tue, 29 Jun 2004 18:04:27 +0000 (+0000) Subject: Add SetState/GetState for wxMSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cc4495dc4c8982493f878ce5cb3d48857b92a6b6 Add SetState/GetState for wxMSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_treectrl.i b/wxPython/src/_treectrl.i index c10298c9b5..d1509302d9 100644 --- a/wxPython/src/_treectrl.i +++ b/wxPython/src/_treectrl.i @@ -712,6 +712,11 @@ value is set to a bitmask of wxTREE_HITTEST_xxx constants. } } +#ifdef __WXMSW__ + // set/get the item state.image (state == -1 means cycle to the next one) + void SetState(const wxTreeItemId& node, int state); + int GetState(const wxTreeItemId& node); +#endif static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);