void OnChar (wxKeyEvent& event)
The default method passes key events on to the buffer. Override this method for you our use.