previous up next     contents index
Next: wxMediaBuffer::BeginWriteHeaderFooterToFile Up: wxMediaBuffer: wxObject Previous: wxMediaBuffer::AppendFontItems

wxMediaBuffer::BeginEditSequence

  void BeginEditSequence (Bool undoable = TRUE)

  BeginEditSequence and EndEditSequence can be used to bracket a set of buffer modifications so that the results are all displayed at once. The commands may be nested arbitrarily deep. Using these functions can greatly speed up displaying the changes.

When a buffer contains other buffers, using BeginEditSequence and EndEditSequence on the main buffer effectively brackets changes to the sub-buffers as well.

If the undoable flag is set to FALSE, then the changes made in the sequence cannot be reversed through the Undo function. This flag is only effective for the outermost BeginEditSequence.

See also wxMediaBuffer::EndEditSequence (section gif).



PLT