]> git.saurik.com Git - wxWidgets.git/commitdiff
cw pro adaption (illegal default argument error was given)
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 9 Feb 1999 09:58:12 +0000 (09:58 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 9 Feb 1999 09:58:12 +0000 (09:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/object.h

index 016bdc631128244d5567fc08c3a79db1d04b0792..f285a791f5f713bc8a208988a37f8b865a69dcd7 100644 (file)
@@ -204,17 +204,15 @@ class WXDLLEXPORT wxObject
 #endif
 
     // Causes problems for VC++
-#if wxUSE_ARRAY_MEMORY_OPERATORS && !defined(__VISUALC__)
+#if wxUSE_ARRAY_MEMORY_OPERATORS && !defined(__VISUALC__) &6 !defined( __MWERKS__)
   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 // Debug & memory tracing