previous up next     contents index
Next: wxMediaBuffer::SizeCacheInvalid Up: wxMediaBuffer: wxObject Previous: wxMediaBuffer::SetSnipData

wxMediaBuffer::SetStyleList

void SetStyleList (wxStyleList *styleList)

  Sets the buffer's style list. Styles currently in use with the old style list will be ``moved'' to the new style list. In this ``move'', if a named style already exists in the new style list, then the new style with the same name will be used in place of the old style.

The buffer adjusts the style list's usage appropriately. If there are no other users of the old style list, it will be destroyed. If there are no users of the new style list when the buffer is destroyed or when a newer list is installed, then the new list will destroyed at that time.



PLT