previous up next     contents index
Next: wxMediaEdit::Erase Up: wxMediaEdit: wxMediaBuffer Previous: wxMediaEdit::Cut

wxMediaEdit::Delete

void Delete (long start, long end = -1, Bool scrollOk = TRUE)

Deletes the specified range in the buffer. If start is -1, then the starting selection position is used; if end is -1, then only the character preceding start is deleted. If scrollOk is TRUE and start is the same as the current caret position, then the buffer's view may be scrolled to show the new selection position.

void Delete (void)

Deletes the currently selected text.



PLT