[wxPython] Help with wxTreeCtrl

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[wxPython] Help with wxTreeCtrl

Winkelman, Jeff-2
I am trying to use the wxTreeCtrl and I am having trouble with the
following:

When I issue the following statement:

        tree.GetNextSibling(currentItem)

I always get a wxTreeItemId instance, even when them item has no siblings.

The documentation says I should get an Invalid tree item.  I figured in
Python this would be None.  How do I determine if an item is valid or not?

Thanks for your help.

Jeff



_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users