Hi Frank,
Here's another one: TreeCtrl.GetItemImage has 'which' as optional
argument (defaulting to wx.TreeItemIcon_Normal) while for
CustomTreeCtrl.GetItemImage 'which' is mandatory.
Thanks for the bug report. It should read in this way:
def GetItemImage(self, item, which=TreeItemIcon_Normal):
"""Returns the item image."""
if not item:
raise "\nERROR: Invalid Tree Item. "
return item.GetImage(which)
With the which argument defaulted to TreeItemIcon_Normal. Robin, do
you need a patch for this?
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
···
On 3/6/07, Frank Niessink wrote: