previous up next     contents index
Next: wxMediaBuffer::SetMaxUndoHistory Up: wxMediaBuffer: wxObject Previous: wxMediaBuffer::SetInactiveFocusThreshold

wxMediaBuffer::SetKeymap

void SetKeymap (wxKeymap *keymap = NULL)

  Sets the current keymap for the buffer. NULL indicates that no key mapping should take place. The usage of the former and new keymaps are adjusted appropriately (see wxKeymap::AdjustUsage (section gif)); if the former keymap for this buffer is not used by anyone else, it will be deleted. Similarly, the new keymap will be deleted when the buffer is destroyed, unless someone else is using the keymap at that time.



PLT