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.Delet eItem(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
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.Delet eItem(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
Comment