
Next: wxMediaBuffer::DoFont
Up: wxMediaBuffer: wxObject
Previous: wxMediaBuffer::Cut
void DoEdit (int op, Bool recursive = TRUE, long time = 0)
Performs a generic edit command. The possible commands are:
- wxEDIT_UNDO -- undoes the last operation
- wxEDIT_REDO -- undoes the last undo
- wxEDIT_CLEAR -- deletes the current selection
- wxEDIT_CUT -- cuts
- wxEDIT_COPY -- copies
- wxEDIT_PASTE -- pastes
- wxEDIT_KILL -- cuts to the end of the current line, or cuts a newline if there is nothing between the selection and end of line
- wxEDIT_SELECT_ALL -- selects all
- wxEDIT_INSERT_TEXT_BOX -- inserts an editor buffer as an item in this buffer
- wxEDIT_INSERT_GRAPHIC_BOX -- inserts a pasteboard buffer as an item in this buffer
- wxEDIT_INSERT_IMAGE -- gets a filename
from the use and inserts the image as an item in this buffer
If recursive is TRUE, then the command is passed on to any
active snips of this buffer (i.e., snips which own the caret).
See Cut and Paste Timestamps (section
) for a discussion of the time parameter.
See also wxMediaBuffer::AppendEditItems (section
).
PLT