git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14004
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
else if ( m_refData->GetRefCount() > 1 )
{
// note that ref is not going to be destroyed in this case
- wxObjectRefData* ref = m_refData;
+ const wxObjectRefData* ref = m_refData;
UnRef();
// ... so we can still access it
return NULL;
}
-wxObjectRefData *wxObject::CloneRefData(const wxObjectRefData * WXUNUSED(data)) const
+wxObjectRefData *
+wxObject::CloneRefData(const wxObjectRefData * WXUNUSED(data)) const
{
// if you use AllocExclusive() you must override this method
wxFAIL_MSG( _T("CloneRefData() must be overridden if called!") );