#NEWLINE# def createMenus( self ) : #NEWLINE# #INDENT# self . menubar = wx . MenuBar ( ) #NEWLINE# self . createBaseMenus ( ) #NEWLINE# self . createCustomMenus ( ) #NEWLINE# for ( menu , title ) in self . _menus : #NEWLINE# #INDENT# self . menubar . Append ( menu , title ) #NEWLINE# #UNINDENT# self . SetMenuBar ( self . menubar ) #NEWLINE# self . Bind ( wx . EVT_CLOSE , self . onExit )