- long InsertItem(long parent, wxTreeItem& info,
- long insertAfter = wxTREE_INSERT_LAST);
- // If image > -1 and selImage == -1, the same image is used for
- // both selected and unselected items.
- long InsertItem(long parent, const wxString& label,
- int image = -1, int selImage = -1,
- long insertAfter = wxTREE_INSERT_LAST);
+
+#if WXWIN_COMPATIBILITY_2_6
+ wxDEPRECATED( long InsertItem(long parent, wxTreeItem& info,
+ long insertAfter = wxTREE_INSERT_LAST) );
+ // If image > -1 and selImage == -1, the same image is used for
+ // both selected and unselected items.
+ wxDEPRECATED( long InsertItem(long parent, const wxString& label,
+ int image = -1, int selImage = -1,
+ long insertAfter = wxTREE_INSERT_LAST) );
+
+ // use Expand, Collapse, CollapseAndReset or Toggle
+ wxDEPRECATED( bool ExpandItem(long item, int action) );
+ wxDEPRECATED( void SetImageList(wxImageList *imageList, int which = wxIMAGE_LIST_NORMAL) );
+#endif // WXWIN_COMPATIBILITY_2_6