X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..d2fdd8d2af20f032b26562fc5eb0af2c85d5c8b6:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index 0b72a7243a..f444b6786e 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -213,7 +213,8 @@ class WXDLLEXPORT wxObject #endif #ifdef __MWERKS__ - void * operator new[] (size_t size, wxChar * fileName , int lineNum = 0); + void * operator new[] (size_t size, wxChar * fileName , int lineNum = 0); + void * operator new[] (size_t size) { return operator new[] ( size , NULL , 0 ) ; } void operator delete[] (void * buf); #endif