(self, menu, optionLabel)
| 37 | return _t("Citadel System Security") |
| 38 | |
| 39 | def addOption(self, menu, optionLabel): |
| 40 | id = ContextMenuUnconditional.nextID() |
| 41 | self.optionIds[id] = optionLabel |
| 42 | menuItem = wx.MenuItem(menu, id, optionLabel, kind=wx.ITEM_CHECK) |
| 43 | menu.Bind(wx.EVT_MENU, self.handleMode, menuItem) |
| 44 | return menuItem |
| 45 | |
| 46 | def getSubMenu(self, callingWindow, context, rootMenu, i, pitem): |
| 47 | fitID = self.mainFrame.getActiveFit() |