In treectrl AppendItem and AddRoot, the wxWindows version takes a named argument selImage, however I get an exception when using this keyword. Can anyone point me to what keyword to use to indicate the index in the ImageList for a selected Tree Item.
In treectrl AppendItem and AddRoot, the wxWindows version takes a named argument selImage, however I get an exception when using this keyword. Can anyone point me to what keyword to use to indicate the index in the ImageList for a selected Tree Item.
wxTreeItemId AddRoot(const wxString& text,
int image = -1, int selectedImage = -1,
wxPyTreeItemData *data = NULL);
wxTreeItemId AppendItem(const wxTreeItemId& parent,
const wxString& text,
int image = -1, int selectedImage = -1,
wxPyTreeItemData *data = NULL);
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!