]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
small optimization in ProcessEvent() (IsKindOf(wxWindow) only called once)
[wxWidgets.git] / src / common / object.cpp
index 15e3f0fec09b240eda8d30ff8c223a88945da294..decda33776718a5564f3781b4db2762b1fbb425b 100644 (file)
@@ -125,7 +125,7 @@ void wxObject::operator delete(void* pData, char* /* fileName */, int /* lineNum
 #endif
 
 // Cause problems for VC++ - crashes
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && wxUSE_ARRAY_MEMORY_OPERATORS
 void * wxObject::operator new[] (size_t size, char * fileName, int lineNum)
 {
   return wxDebugAlloc(size, fileName, lineNum, TRUE, TRUE);