Various changes for 16-bit compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -884,6 +884,7 @@ void * operator new (size_t size, char * fileName, int lineNum)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !( defined (_MSC_VER) && (_MSC_VER <= 800) )
|
||||
void * operator new[] (size_t size, char * fileName, int lineNum)
|
||||
{
|
||||
#ifdef NO_DEBUG_ALLOCATION
|
||||
@@ -892,6 +893,7 @@ void * operator new[] (size_t size, char * fileName, int lineNum)
|
||||
return wxDebugAlloc(size, fileName, lineNum, FALSE, TRUE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
void operator delete (void * buf)
|
||||
{
|
||||
@@ -902,6 +904,7 @@ void operator delete (void * buf)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !( defined (_MSC_VER) && (_MSC_VER <= 800) )
|
||||
void operator delete[] (void * buf)
|
||||
{
|
||||
#ifdef NO_DEBUG_ALLOCATION
|
||||
@@ -910,6 +913,7 @@ void operator delete[] (void * buf)
|
||||
wxDebugFree(buf, TRUE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user