]> git.saurik.com Git - wxWidgets.git/commitdiff
Add SetState/GetState for wxMSW
authorRobin Dunn <robin@alldunn.com>
Tue, 29 Jun 2004 18:04:27 +0000 (18:04 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 29 Jun 2004 18:04:27 +0000 (18:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_treectrl.i

index c10298c9b5b1f63fa55f8f7f571262292894ab5c..d1509302d9c115b19baf5351ca0a27e174afd681 100644 (file)
@@ -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);