Luke Hart wrote:
Phil Martin wrote:Do you know of something that uses it? The entire of the key press frame work only deals with Key Downs and Ups (as it did under Camelot). I've never needed to handle wxEVT_CHARs, Key down auto-repeats.What about wxEVT_CHAR? PhilLuke
Hot key detection only uses up and down events because by definition hotkeys are always a single keypress. But getting character data must be done via wxEVT_CHAR so that we get unicode data through whatever input method the user is using.
Controls (text edit controls in particular) must get wxEVT_CHARs and so must the Text tool (via the view or application keypress handler).