   Issues with wxPython Even Handlers [Solved]
  Not sure if you guys can help me.  But basically what it is saying is that my event handlers on_about and on_exit don't exist.  This is frustrating wasted hours on this I need a outside of my head look at the code.import wxID_ABOUT = 101ID_EXIT = 102  class MainWindow(wx.Frame):    ''' We simply derive a new class from Frame. '''    def __init__(self, parent, id, title): # Create a Frame.   wx.Frame.__init__(self, parent, id, title, size=(640,480)) # Set up the Menu.   filemenu = wx.Menu()   filemenu.Append(ID_ABOUT, '&About', 'Information about this program.')   filemenu.AppendSeparator()   filemenu.Append(ID_EXIT, 'E&amp;xit', 'Terminate the program.') # Creating the MenuBar.   menubar = wx.MenuBar()   menubar.Append(filemenu, '&File') # Adds a multiline edit box to the Frame.   self.control = wx.TextCtrl(self, 1, style=wx.TE_MULTILINE) # Adds a StatusBar to the bottom of the Frame.   self.CreateStatusBar() # Add MenuBar to the Frame   self.SetMenuBar(menubar) # Bind even handlers   self.Bind(wx.EVT_MENU, self.on_about, self.filemenu, ID_ABOUT)   self.Bind(wx.EVT_MENU, self.on_exit, self.filemenu, ID_EXIT) ''' About menu item event handler method. '''   def on_about(self, e):  d = wx.MessageDialog(self, 'A simple editor'    ' to test wxPython.\n', wx.OK)    d.ShowModal()  d.Destroy() ''' Exit menu item event handler method. '''   def on_exit(self, e):  self.Close(True) app = wx.PySimpleApp()frame = MainWindow(None, -1, 'Sample Editor')app.SetTopWindow(frame)frame.Show(True)app.MainLoop()    EDIT:  Took a walk a way for about 20 to 30 min ended up figuring it out.[Edited by - blewisjr on May 27, 2009 5:40:22 PM]