code: def wx_menu(self):
          '''return a wx.Menu() for this menu'''
          from MAVProxy.modules.lib.wx_loader import wx
          menu = wx.Menu()
          for i in range(len(self.items)):
              m = self.items[i]
              m._append(menu)
          return menf wx_menu(self):
          '''return a wx.Menu() for this menu'''
          from MAVProxy.modules.lib.wx_loader import wx
          menu = wx.Menu()
          for i in range(len(self.items)):
              m = self.items[i]
              m._append(menu)
          return menu
docs: return a wx.Menu() for this menu