Strange behaviour in TreeListControl.GetPrev()

Quoting Gouki <akuma@swing.be>:

Hello,

I have a problem with the GetPrev() method of the TreeListControl: it returns
the last child node of the item rather than the previous node in the complete
tree. I changed the OnRightUp() method of the demo class to demonstrate this.

There's a comment in the code that GetNext and GetPrev are for
internal use only, so it may be that they are not supposed to make
sense. :wink: Maybe Get*Child, Get*Sibling or Get*Visible will be what
you want?

路路路

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!