Change key_pressed event to fire when keyPressEvent occurs, rather than keyReleaseEvent.  This makes behaviour more consistent with Wx and allows keys to repeat.
Change key_pressed event to fire when keyPressEvent occurs, rather than
keyReleaseEvent.  This makes behaviour more consistent with Wx and allows
keys to repeat.

tommy-u/enable,tommy-u/enable,tommy-u/enable,tommy-u/enable