-
- // Cause problems for VC++
-#ifndef _MSC_VER
- void * operator new[] (size_t size, char * fileName = NULL, int lineNum = 0);
+
+// VC++ 6.0
+#if defined(__VISUALC__) && (__VISUALC__ >= 1200)
+ void operator delete(void *buf, char*, int);
+#endif
+
+ // Causes problems for VC++
+#if wxUSE_ARRAY_MEMORY_OPERATORS && !defined(__VISUALC__) && !defined( __MWERKS__)
+ void * operator new[] (size_t size, wxChar * fileName = NULL, int lineNum = 0);