[wxPython] How to process enter in a wxListCtrl

Hi,

Anyone knows how to make a wxListCtrl process the enter key??
I have

self.list = wxListCtrl(self, tID, style=wxLC_REPORT|wxSUNKEN_BORDER)
EVT_LIST_ITEM_ACTIVATED(self, tID, self.OnItemActivated)

And the documentation says....
EVT_LIST_ITEM_ACTIVATED(id, func) The item has been activated (ENTER or
double click).

So I would expect the code OnItemActivated to be called with the enter
key or double click, but it only works for a double click. I doesn't
matter if I add wxWANTS_CHARS in the style argument.

wxPython 2.3.0 Win NT

Thank you

Anyone knows how to make a wxListCtrl process the enter key??
I have

http://lists.wxwindows.org/pipermail/wxpython-users/2000-September/003183.ht
ml

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!