wxObjectRefDataThis class is used to store reference-counted data. Derive classes from this to store your own data. When retrieving information from a wxObject's reference data, you will need to cast to your own derived class. Friends See also Members
wxObjectRefData::wxObjectRefData
wxObjectRefData::wxObjectRefDatawxObjectRefData() Default constructor. Initialises the m_count member to 1.
wxObjectRefData::~wxObjectRefDatawxObjectRefData() Destructor.
wxObjectRefData::GetRefCountint GetRefCount() const Returns the reference count associated with this shared data. When this goes to zero during a wxObject::UnRef, an object can delete this wxObjectRefData object.
|