Fixed delete operator for VC++ 6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -109,6 +109,14 @@ void wxObject::operator delete (void * buf)
|
||||
wxDebugFree(buf);
|
||||
}
|
||||
|
||||
// VC++ 6.0
|
||||
#if _MSC_VER >= 1200
|
||||
void operator delete(void* pData, char* /* fileName */, int /* lineNum */)
|
||||
{
|
||||
::operator delete(pData);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Cause problems for VC++ - crashes
|
||||
#ifndef _MSC_VER
|
||||
void * wxObject::operator new[] (size_t size, char * fileName, int lineNum)
|
||||
|
Reference in New Issue
Block a user