git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31785
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+#ifdef __WXDEBUG__
+#if wxUSE_GLOBAL_MEMORY_OPERATORS
void * operator new (size_t size, wxChar * fileName, int lineNum)
{
return wxDebugAlloc(size, fileName, lineNum, false, false);
void * operator new (size_t size, wxChar * fileName, int lineNum)
{
return wxDebugAlloc(size, fileName, lineNum, false, false);
+#endif // wxUSE_GLOBAL_MEMORY_OPERATORS
+#endif // __WXDEBUG__
+
// Trace: send output to the current debugging stream
void wxTrace(const wxChar * ...)
{
// Trace: send output to the current debugging stream
void wxTrace(const wxChar * ...)
{