Re: [Tutor] WXPython Listbox Problem

2006-12-06 Thread Jorgen Bodde
Try ID's higher then 1 ... low ID's are usually taken by wxWidgets. To be safe simply create them with wx.ID_ANY (from the top of my head) and after that: self.box1.Bind(wx.EVT_LISTBOX, self.b1func,id=self.box1.GetId()) Which is a bit more dynamic anyway and saves you some constants. Further

[Tutor] WXPython Listbox Problem

2006-12-06 Thread Toon Pieton
Hey friendly users! I'm trying to make a simple program to calculate the odds when playing poker. The idea is that you select both your cards from listboxes. However, no matter what I try, I just can't select a entry in either of the listboxes! I can click all I want, it just won't select. Here's