wxKeyEvent::KeyCode

long KeyCode(void)

Returns the virtual key code. ASCII events return normal ASCII values, while non-ASCII events return values such as WXK_LEFT for the left cursor key. See common.h for a full list of the virtual key codes.