In code snippet, there is an example with wx.menu(), but there is only one command in menu. I need moore
menu = wx.Menu()#create_menu
menu2 =wx.Menu()#menu2
menu2.Append(wx.ID_EXIT, u"Add")#menu2
self.Bind(wx.EVT_MENU, self.a, id=wx.ID_EXIT) #menu2
menu.Append(wx.ID_EXIT, u"Přidat")#menu
self.Bind(wx.EVT_MENU, self.Pridat, id=wx.ID_EXIT)#menu
menuBar.Append(menu2, "File")#menu2
menuBar.Append(menu, "Soubor")#menu
self.SetMenuBar(menuBar)
it doesn't work correct
If do i presss Add or Pridat is called function self.Pridat. Correctly if i press Add it will call function self.a
please help