Check for wxUSE_GLOBAL_MEMORY_OPERATORS before redefining new
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
|
||||
// Normally, new is automatically defined to be the
|
||||
// debugging version. If not, this does it.
|
||||
#if !defined(new) && defined(WXDEBUG_NEW) && wxUSE_MEMORY_TRACING
|
||||
#if !defined(new) && defined(WXDEBUG_NEW) && wxUSE_MEMORY_TRACING && wxUSE_GLOBAL_MEMORY_OPERATORS
|
||||
#define new WXDEBUG_NEW
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user