X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/605c9c8318875c590fce53cd2ce5d5aabcc92564..ea57084d103187771c0306a6e1684e32244d6101:/include/wx/object.h?ds=sidebyside diff --git a/include/wx/object.h b/include/wx/object.h index bc9d5c480c..027d557aef 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -187,7 +187,7 @@ class WXDLLEXPORT wxObject bool IsKindOf(wxClassInfo *info) const; -#if WXDEBUG && wxUSE_MEMORY_TRACING +#if defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING void * operator new (size_t size, char * fileName = NULL, int lineNum = 0); void operator delete (void * buf); @@ -204,7 +204,7 @@ class WXDLLEXPORT wxObject #endif -#if WXDEBUG || wxUSE_DEBUG_CONTEXT +#if defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT virtual void Dump(ostream& str); #endif @@ -246,7 +246,7 @@ private: int m_count; }; -#if WXDEBUG && wxUSE_GLOBAL_MEMORY_OPERATORS +#if defined(__WXDEBUG__) && wxUSE_GLOBAL_MEMORY_OPERATORS //#ifndef WXDEBUG_NEW //#define WXDEBUG_NEW new(__FILE__,__LINE__) //#endif