wxclientdatacontainerthis class is a mixin that provides storage and management of "client data." this data can either be of type void - in which case the data container does not take care of freeing the data again or it is of type wxclientdata or its derivatives. in that case the container will free the memory itself later. note that you must not assign both void data and data derived from the wxclientdata class to a container. note: this functionality is currently duplicated in wxevthandler in order to avoid having more than one vtable in that class hierarchy. see also derived from no base class include files <wx/clntdata.h> data structures members
wxclientdatacontainer::wxclientdatacontainer
wxclientdatacontainer::wxclientdatacontainerwxclientdatacontainer()
wxclientdatacontainer::~wxclientdatacontainer~wxclientdatacontainer()
wxclientdatacontainer::getclientdatavoid* getclientdata() const get the untyped client data.
wxclientdatacontainer::getclientobjectwxclientdata* getclientobject() const get a pointer to the client data object.
wxclientdatacontainer::setclientdatavoid setclientdata(void* data) set the untyped client data.
wxclientdatacontainer::setclientobjectvoid setclientobject(wxclientdata* data) set the client data object. any previous object will be deleted.
|