Discussion:
wxTreeItemIconXXX definitions off-by-one?
Rob Gayvert
2006-07-19 15:18:02 UTC
Permalink
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...
Loading...