void OnChar (wxKeyEvent& event)
Handles keyboard input to the buffer. The default method either passes this event on to a caret-owning snip or calls OnLocalChar. Override this method for your own use, but consider overriding OnLocalChar or OnDefaultChar instead.
The eventObject member of event will be set to the top-level view (usually a wxCanvas object) which received the event.