(self, menu, optionLabel, optionValue)
| 31 | return _t("Pilot Security Status") |
| 32 | |
| 33 | def addOption(self, menu, optionLabel, optionValue): |
| 34 | id = ContextMenuUnconditional.nextID() |
| 35 | self.optionIds[id] = optionValue |
| 36 | menuItem = wx.MenuItem(menu, id, optionLabel, kind=wx.ITEM_CHECK) |
| 37 | menu.Bind(wx.EVT_MENU, self.handleMode, menuItem) |
| 38 | return menuItem |
| 39 | |
| 40 | def addOptionCustom(self, menu, optionLabel): |
| 41 | id = ContextMenuUnconditional.nextID() |