Delete item from wxListCtrl
Joost van Rooij
j.vanrooij_at_e-quest.nl
Fri Jul 4 09:39:20 EDT 2003
Hi,
I am having problems deleting one item from a list in a wxListCtrl widget.
My thought was to select it as presented below:
def onSelect(self, event):
self.item = event.GetItem()
self.list.DeleteItem(self.item)
This won't work, it appaers GetItem() is returning an object while
DeleteItem() requires a long as its input. How do I pass the item to the
DeleteItem function?
Regards,
Joost
More information about the Python-list
mailing list