X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c32066b58849e52e4d76e30982414d9f4daae6a..341287bf49066e5dd84e971bd508ee3919ff4b46:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index 83b86a7d08..de08899955 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -17,6 +17,7 @@ #endif #include "wx/defs.h" +#include "wx/memory.h" class WXDLLEXPORT wxObject; @@ -232,10 +233,10 @@ private: }; #if WXDEBUG && USE_GLOBAL_MEMORY_OPERATORS -#ifndef WXDEBUG_NEW -#define WXDEBUG_NEW new(__FILE__,__LINE__) -#endif -#define new WXDEBUG_NEW +//#ifndef WXDEBUG_NEW +//#define WXDEBUG_NEW new(__FILE__,__LINE__) +//#endif +#define new new(__FILE__,__LINE__) #endif #endif