DebugAlloc and DebugFree must be present also if there is no overridden global new as wxObject::new still needs it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -950,6 +950,7 @@ void operator delete[] (void * buf)
|
|||||||
wxDebugFree(buf, true);
|
wxDebugFree(buf, true);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif // wxUSE_GLOBAL_MEMORY_OPERATORS
|
||||||
|
|
||||||
// TODO: store whether this is a vector or not.
|
// TODO: store whether this is a vector or not.
|
||||||
void * wxDebugAlloc(size_t size, wxChar * fileName, int lineNum, bool isObject, bool WXUNUSED(isVect) )
|
void * wxDebugAlloc(size_t size, wxChar * fileName, int lineNum, bool isObject, bool WXUNUSED(isVect) )
|
||||||
@@ -1061,7 +1062,6 @@ void wxDebugFree(void * buf, bool WXUNUSED(isVect) )
|
|||||||
free((char *)st);
|
free((char *)st);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // wxUSE_GLOBAL_MEMORY_OPERATORS
|
|
||||||
#endif // __WXDEBUG__
|
#endif // __WXDEBUG__
|
||||||
|
|
||||||
// Trace: send output to the current debugging stream
|
// Trace: send output to the current debugging stream
|
||||||
|
Reference in New Issue
Block a user