]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectrl.h
Added wxMenu::Delete() and fixed some menu deleted memory
[wxWidgets.git] / include / wx / generic / treectrl.h
index 38994404ba3692d21b1a00a761fce8ad97e32c6e..00c139de9b6524ed36ca450f7a420e8fe026dd08 100644 (file)
@@ -271,7 +271,7 @@ public:
     void SetItemText(const wxTreeItemId& item, const wxString& text);
         // get one of the images associated with the item (normal by default)
     void SetItemImage(const wxTreeItemId& item, int image,
-                      wxTreeItemIcon which = wxTreeItemIcon_Normal) const;
+                      wxTreeItemIcon which = wxTreeItemIcon_Normal);
         // associate some data with the item
     void SetItemData(const wxTreeItemId& item, wxTreeItemData *data);