[cvs-nhc98] patch applied (yhc): Added definition for KeyEvent, better typed event handlers are possible