-#if !( defined (_MSC_VER) && (_MSC_VER <= 1020) )
-void * operator new[] (size_t size, char * fileName, int lineNum);
-void operator delete[] (void * buf);
+#if wxUSE_ARRAY_MEMORY_OPERATORS
+ void * operator new[] (size_t size);
+ void * operator new[] (size_t size, wxChar * fileName, int lineNum);
+ void operator delete[] (void * buf);
+#endif
+
+// VC++ 6.0
+#if defined(__VISUALC__) && (__VISUALC__ >= 1200)
+ void operator delete(void *buf, wxChar*, int);
+ void operator delete[](void *buf, wxChar*, int);