X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fe7d506b191a94ce327c2a18733a4d3bc576cac..92976ab62b850005f9b1e506d0e5ccf2ed465c15:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index 2791952dcb..b8051a90a3 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -190,18 +190,23 @@ class WXDLLEXPORT wxObject #if defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING 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 +#ifndef _MSC_VER void * operator new[] (size_t size, char * fileName = NULL, int lineNum = 0); void operator delete[] (void * buf); #endif +#ifdef __MWERKS__ + void * operator new[] (size_t size, char * fileName , int lineNum = 0); + void operator delete[] (void * buf); +#endif + #endif #if defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT