]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
Committing in .
[wxWidgets.git] / src / common / object.cpp
index 9f7e1913ee85f2e3c83aa8bc7f12d9821c8a9878..44d3f3f3a6932f4658bc0837b797fce5a0851811 100644 (file)
@@ -138,7 +138,7 @@ void wxObject::operator delete(void* pData, char* /* fileName */, int /* lineNum
 #endif
 
 // Cause problems for VC++ - crashes
-#if !defined(__VISUALC__) && wxUSE_ARRAY_MEMORY_OPERATORS
+#if (!defined(__VISUALC__) && wxUSE_ARRAY_MEMORY_OPERATORS ) || defined(__MWERKS__)
 void * wxObject::operator new[] (size_t size, wxChar * fileName, int lineNum)
 {
     return wxDebugAlloc(size, fileName, lineNum, TRUE, TRUE);