I have a class that derives from a wx.ListCtrl, that has a
OnItemSelected event coded within it.
On linux, code works fine.
On windows (via py2exe) it works fine.
But on os/x the event does not fire.
I can post the whole class here if you need it.
I am perplexed. Here is snippet. I would THINK that os/x and linux
wouldn't be much of a problem.
Jerry
class SQLList(wx.ListCtrl):
def __init__(self, parent, id, style):
wx.ListCtrl.__init__(self, parent, id, style=wx.LC_REPORT)
self.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnItemSelected)
self.ItemSelectedCallback = None
...
def OnItemSelected(self, evt):
itemindex = evt.m_itemIndex
print 'in SQLList:OnItemSelected: itemindex = ', itemindex