X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a32e18214d39968e22bd46ade02bd2bcb29458d..5d644707ca96dcaa63dc5a24c9eb5c2b7ee0b50d:/include/wx/msw/setup0.h diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index f5e5845a63..6e4571f104 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -129,7 +129,7 @@ // In debug mode, causes new to be defined to be WXDEBUG_NEW (see object.h). If // this causes problems (e.g. link errors), set this to 0. You may need to set // this to 0 if using templates (at least for VC++). This switch is currently -// ignored for mingw / cygwin +// ignored for mingw / cygwin / CodeWarrior // // Default is 0 // @@ -1056,6 +1056,12 @@ #endif #endif +// wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior +#if defined(__MWERKS__) + #undef wxUSE_DEBUG_NEW_ALWAYS + #define wxUSE_DEBUG_NEW_ALWAYS 0 +#endif + #if defined(__GNUWIN32__) // These don't work as expected for mingw32 and cygwin32 #undef wxUSE_MEMORY_TRACING