Re: same menu point is activated

2005-08-26 Thread OllieZ
Thx a lot, i'll try that asap :) OllieZ -- http://mail.python.org/mailman/listinfo/python-list

Re: same menu point is activated

2005-08-25 Thread Greg Krohn
OllieZ wrote: > Hi all > > Im trying to learn wxpython by some samples and Ive come across this. > After change EVT_MENU lines from > EVT_MENU(self, ID_OPEN, self.OnOpen) to > self.Bind(wx.EVT_MENU, self.OnOpen) It should be: self.Bind(wx.EVT_MENU, self.OnOpen, id=ID_OPEN)

same menu point is activated

2005-08-25 Thread OllieZ
Hi all Im trying to learn wxpython by some samples and Ive come across this. After change EVT_MENU lines from EVT_MENU(self, ID_OPEN, self.OnOpen) to self.Bind(wx.EVT_MENU, self.OnOpen) It can run, but the menu points all trigger the openfile dialog. Seems like the last bind rules them all. What