This 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::~wxObjectRefData
wxObjectRefData::GetRefCount
wxObjectRefData()
Default constructor. Initialises the m_count member to 1.
wxObjectRefData()
Destructor.
int 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.