code: def MenuItem(parent, menu, label='', longtext='', action=None, default=True,
               **kws):
      
      item = menu.Append(-1, label, longtext, **kws)
      kind = item.GetKind()
      if kind == wx.ITEM_CHECK:
          item.Check(default)
      if callable(action):
          parent.Bind(wx.EVT_MENU, action, item)
      return item
docs: Add Item to a Menu, with action
      m = Menu(parent, menu, label, longtext, action=None)