Sorry, I was referring to using the line:
self.Bind(wx.EVT_MENU, self.Close, id=ID_FILE_QUIT)
rather than the original code line:
self.Bind(wx.EVT_MENU, self.Close(), id=ID_FILE_QUIT)
Lardmeister's code works fine.
Reputation Points: 1333
Solved Threads: 1403
DaniWeb's Hypocrite
Offline 5,792 posts
since Oct 2004