previous up next     contents index
Next: wxMediaCanvas::ForceDisplayFocus Up: wxMediaCanvas: wxCanvas Previous: wxMediaCanvas::AllowScrollToLast

wxMediaCanvas::CallAsPrimaryOwner

void * CallAsPrimaryOwner (void *(*)f(void *), void *data)

Calls f with data and returns the value. While f is being called, if the canvas has a buffer, the buffer's GetAdmin method returns a the administrator for this canvas. This method is only useful when a buffer is displayed in multiple canvases.



PLT