Bind evennt to the parent menu as well
Apparently, this is required by msw wx, otherwise handle selection is not called
This commit is contained in:
@@ -19,6 +19,7 @@ class WhProjector(ContextMenu):
|
||||
|
||||
def getSubMenu(self, context, selection, menu, i):
|
||||
self.idmap = {}
|
||||
menu.Bind(wx.EVT_MENU, self.handleSelection)
|
||||
m = wx.Menu()
|
||||
sMkt = service.Market.getInstance()
|
||||
effdata = sMkt.getSystemWideEffects()
|
||||
|
||||
Reference in New Issue
Block a user