previous up next     contents index
Next: wxMediaBuffer::InvalidateBitmapCache Up: wxMediaBuffer: wxObject Previous: wxMediaBuffer::InsertBox

wxMediaBuffer::InsertImage

void InsertImage (char *filename = NULL, long type = -1)

Inserts an image into the buffer. If filename is NULL, then the user is queried for a filename. If type is not a valid image type (one of the ones that can be passed to wxBitmap::LoadFile), then the file type is dedcued from the file's extension and verified by the user.



PLT