(self, parentMenu, typeID, name)
| 62 | return menuItem |
| 63 | |
| 64 | def _addEffect(self, parentMenu, typeID, name): |
| 65 | id = ContextMenuUnconditional.nextID() |
| 66 | self.idmap[id] = typeID |
| 67 | menuItem = wx.MenuItem(parentMenu, id, name) |
| 68 | parentMenu.Bind(wx.EVT_MENU, self.handleSelection, menuItem) |
| 69 | return menuItem |
| 70 | |
| 71 | def getSubMenu(self, callingWindow, context, rootMenu, i, pitem): |
| 72 | self.idmap = {} |