]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/object.h
Some stubs includes removed from wxMotif; wxNotebook sample hack to make it display;
[wxWidgets.git] / include / wx / object.h
index b8051a90a3aa7cd94a9af8b5bf4e7beef26b5313..df3a08ca9765c1a6b4dea56517db8ff67928b03b 100644 (file)
@@ -197,15 +197,18 @@ class WXDLLEXPORT wxObject
 #endif
 
   // Cause problems for VC++
-#ifndef _MSC_VER 
+// #ifndef _MSC_VER
+#if !defined(_MSC_VER) && wxUSE_ARRAY_MEMORY_OPERATORS
   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