Problem about key event in 2.7.1.1

I installed wxPython 2.7.1.1, and I found a problem:

I need to hook the KeyDown event, and I want to deal the combine key
Ctrl+Enter, but I cann't receive Ctrl+Enter in KeyDown event. So I
tried the KeyEvents demo, and I found in 2.6.3.3 Ctrl+Ender will
exists in KeyDown and KeyUp event. But in 2.7.1.1 Ctrl+Enter only
exists in KeyUp event. So I need to change the hook to KeyDown. But I
don't know if it is a bug.

···

--
I like python!
UliPad <<The Python Editor>>: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou

limodou wrote:

I installed wxPython 2.7.1.1, and I found a problem:

I need to hook the KeyDown event, and I want to deal the combine key
Ctrl+Enter, but I cann't receive Ctrl+Enter in KeyDown event. So I
tried the KeyEvents demo, and I found in 2.6.3.3 Ctrl+Ender will
exists in KeyDown and KeyUp event. But in 2.7.1.1 Ctrl+Enter only
exists in KeyUp event. So I need to change the hook to KeyDown. But I
don't know if it is a bug.

It depends on the context. I think Ctrl-Enter can sometimes be used for navigation.

···

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