Hello Thomas & NG,
I tested the updated one..getting the error
<snip>
File "D:\Tree\CustomTreeCtrl.py", line 163, in ?
_drawingfunction = DrawTreeItemButton
NameError: name 'DrawTreeItemButton' is not defined
This was a fantastically stupid error from my part... I have put the
function DrawTreeItemButton *after* the initial "if" switch:
if wx.VERSION_STRING < "2.6.2.1":
# something
else:
# something else
the DrawTreeItemButton function should be declared *before* this
switch... I will upload the correct version tomorrow. BTW, if you
manage to shift that function before the "if" switch you can test the
control by yourself.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."