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:
Julian Smart
1998-09-24 15:49:16 +00:00
parent d0dc2fe891
commit 76626af21b
4 changed files with 26 additions and 0 deletions

View File

@@ -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)