- wxCustomDataObject
The constructor accepts a format argument which specifies the (single) format supported by this object.
- Alloc
This function is called to allocate size bytes of memory from SetData().
- Free
This function is called when the data is freed, you may override it to anything you want (or may be nothing at all).
- GetData
Returns a pointer to the data.
- GetSize
Returns the data size in bytes.
- SetData
Set the data.
- TakeData
Like SetData(), but doesn't copy the data - instead the object takes ownership of the pointer.