#NEWLINE# def createMenus( self ) : #NEWLINE# #INDENT# self . menubar = wx . MenuBar ( ) #NEWLINE# fmenu = wx . Menu ( ) #NEWLINE# wid = wx . NewId ( ) #NEWLINE# fmenu . Append ( wid , 'Show Widget Frame\tCtrl+I' , '' ) #NEWLINE# wx . EVT_MENU ( self , wid , self . onShowInspection ) #NEWLINE# self . menubar . Append ( fmenu , '&File' ) #NEWLINE# self . SetMenuBar ( self . menubar ) #NEWLINE# self . Bind ( wx . EVT_CLOSE , fmenu . onExit )