
Next: wxMediaEdit::MovePosition
Up: wxMediaEdit: wxMediaBuffer
Previous: wxMediaEdit::LineStartPosition
Bool LoadFile (char *filename = NULL, int format = wxMEDIA_FF_GUESS)
Loads a file into the buffer. If filename is NULL, then the
internally stored filename will be used; if filename is ``'' or
if the internal name is unset or temporary, then the user will be
prompted for a name. The possible values for format are:
- wxMEDIA_FF_GUESS -- guess the format based on extension and/or contents
- wxMEDIA_FF_STD -- read in a standard file
- wxMEDIA_FF_TEXT -- read in a text file
- wxMEDIA_FF_TEXT_FORCE_CR -- read in a text file; when writing, change automatic newlines (from word-wrapping)
into real carriage returns
- wxMEDIA_FF_SAME -- read in whatever format was last loaded or saved
- wxMEDIA_FF_COPY -- read in whatever format was last loaded or saved, but do not change the modification flag or remember this filename
PLT