TreeCtrl GetNextSibling

Oswaldo Hernández listas at soft-com.es
Fri Feb 16 02:16:40 PST 2007


Hello all,

I loop over items on a tree control using 'GetNextSibling', but when i check if there are more 
siblings i got an excepction:

h = Tree.GetNextSibling(h)
if h.IsOK() == False:
	
Error: AttributeError: 'TreeItemId' object has no attribute 'IsOK'


The GetNextSibling doc says:

	Returns an invalid tree item if there are no further siblings

but, where is defined de invalid tree item?
How can check if there are more sibligns?

Thanks.

-- 
*****************************************
Oswaldo Hernández
oswaldo (@) soft-com (.) es
*****************************************




More information about the wxpython-users mailing list