... using char hook event handlers. We don't need to go the extreme length of patching wxWidgets source.