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)
                                     ^^^^^^^^^^

etc.


-greg
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to