OS/2 patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-03-10 13:56:17 +00:00
parent 3d407edab0
commit 32e768ae94
3 changed files with 63 additions and 9 deletions

View File

@@ -375,9 +375,18 @@ void wxObject::UnRef()
wxASSERT_MSG( m_refData->m_count > 0, _T("invalid ref data 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;
m_refData = (wxObjectRefData *) NULL;
#endif
}
}