Delete item from wxListCtrl
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()
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
Re: Delete item from wxListCtrl
"Jude Venn" <firstname.lastname@example.org> wrote in message
> haven't checked, but i think there's a GetIndex() method on the event
object that returns the index of the selection.
Yep, I tested it, and it worked!
thanx a lot!
|All times are GMT. The time now is 12:13 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.