From cc4495dc4c8982493f878ce5cb3d48857b92a6b6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 29 Jun 2004 18:04:27 +0000 Subject: [PATCH] Add SetState/GetState for wxMSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_treectrl.i | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.50.0