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:
@@ -182,6 +182,11 @@ class WXDLLEXPORT wxObject
|
||||
void * operator new (size_t size, char * fileName = NULL, int lineNum = 0);
|
||||
void operator delete (void * buf);
|
||||
|
||||
// VC++ 6.0
|
||||
#if _MSC_VER >= 1200
|
||||
void operator delete(void *buf, char*, int);
|
||||
#endif
|
||||
|
||||
// Cause problems for VC++
|
||||
#ifndef _MSC_VER
|
||||
void * operator new[] (size_t size, char * fileName = NULL, int lineNum = 0);
|
||||
|
Reference in New Issue
Block a user