Changed the code that disabled __WXDEBUG__ to only disable global debug new.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -518,9 +518,13 @@ class WXDLLEXPORT wxEvent;
|
|||||||
// where should i put this? we need to make sure of this as it breaks
|
// where should i put this? we need to make sure of this as it breaks
|
||||||
// the <iostream> code.
|
// the <iostream> code.
|
||||||
#if !wxUSE_IOSTREAMH && defined(__WXDEBUG__)
|
#if !wxUSE_IOSTREAMH && defined(__WXDEBUG__)
|
||||||
#ifndef __MWERKS__
|
# ifndef __MWERKS__
|
||||||
#undef __WXDEBUG__
|
// #undef __WXDEBUG__
|
||||||
#endif
|
# ifdef wxUSE_DEBUG_NEW_ALWAYS
|
||||||
|
# undef wxUSE_DEBUG_NEW_ALWAYS
|
||||||
|
# define wxUSE_DEBUG_NEW_ALWAYS 0
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Callback function type definition
|
// Callback function type definition
|
||||||
|
Reference in New Issue
Block a user