code: def set_menu(self, menu):
          '''add a menu from the parent'''
          self.menu = menu
          wx_menu = menu.wx_menu()
          self.frame.SetMenuBar(wx_menu)
          self.frame.Bind(wx.EVT_MENU, self.on_menuf set_menu(self, menu):
          '''add a menu from the parent'''
          self.menu = menu
          wx_menu = menu.wx_menu()
          self.frame.SetMenuBar(wx_menu)
          self.frame.Bind(wx.EVT_MENU, self.on_menu)
docs: add a menu from the parent