[wxPython] Can't catch events in CustomDataTable

I want to catch events in CustomDataTable from the
demo. Using EVT_GRID... gives the error
" instance has no attribute 'Connect' "
So I played with wxPyTypeCast, still no luck.

class CustomDataTable(wxPyGridTableBase):
....
        win =wxPyTypeCast(self, "wxGrid")
        EVT_GRID_CELL_LEFT_DCLICK(win,
self.OnCellLeftDClick)

Thanks
--Darrell

···

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/