def create_menu_item(self, menu, label, func):
"""
Add a menu item to the systray icon menu.
"""
item = wx.MenuItem(menu, -1, label)
menu.Bind(wx.EVT_MENU, func, id=item.GetId())
menu.AppendItem(item)
return item