previous up next     contents index
Next: wxKeymap::CallFunction Up: wxKeymap: wxObject Previous: wxKeymap::AdjustUsage

wxKeymap::BreakSequence

void BreakSequence (void)

Clears the state of the keymap if it is in the middle of a key sequence. For example, the user may have hit escape, and then changed to another window; if escape is part of a keyboard sequence, the keymap state needs to be cleared because the user is not going to complete the sequence.

A break callback function can be installed with SetBreakSequenceCallback.



PLT