remove the VisualAge 3.0 hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -375,18 +375,8 @@ void wxObject::UnRef()
|
|||||||
wxASSERT_MSG( m_refData->m_count > 0, _T("invalid ref data count") );
|
wxASSERT_MSG( m_refData->m_count > 0, _T("invalid ref data count") );
|
||||||
|
|
||||||
if ( !--m_refData->m_count )
|
if ( !--m_refData->m_count )
|
||||||
#if defined(__VISAGECPP__) && IBMCPP < 400
|
|
||||||
//
|
|
||||||
// don't know what is going on with VA 3.0 but its got some memory problems here
|
|
||||||
// this delete causes a trap in CPPOOM3.DLL
|
|
||||||
//
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
delete m_refData;
|
delete m_refData;
|
||||||
|
|
||||||
m_refData = (wxObjectRefData *) NULL;
|
m_refData = (wxObjectRefData *) NULL;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user