Right you are. I defined these as ordinals in the API definition, but they should be constants. I'll work up a quick patch for this. .. Rob >The pool for wxTreeItemIconXxx seems to start at 0, but as far as I >can tell the actual arguments to getItemIcon/setItemIcon are 1 >based... > >