ResilientBiscuit
December 19th, 2008, 10:56 PM
Does anyone know why, in a program wx.EVT_KEY_UP would work but wx.EVT_KEY_DOWN will not work? I am using Python 2.5 with wxPython.
If I bind my frame to a key up event, it works just fine when I release the key. But if I directly replace the EVT_KEY_UP with EVT_KEY_DOWN it does not work when I press the key.
Also noteworthy, is that the EVT_KEY_DOWN binding works just fine windows.
The code is on my laptop, so I can post it when I get home, but it seems like there may be a more general answer.
Thanks
Justin
If I bind my frame to a key up event, it works just fine when I release the key. But if I directly replace the EVT_KEY_UP with EVT_KEY_DOWN it does not work when I press the key.
Also noteworthy, is that the EVT_KEY_DOWN binding works just fine windows.
The code is on my laptop, so I can post it when I get home, but it seems like there may be a more general answer.
Thanks
Justin