Applied compilation fix for memory.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -917,6 +917,8 @@ static MemoryCriticalSection memLocker;
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __WXDEBUG__
|
||||||
|
#if wxUSE_GLOBAL_MEMORY_OPERATORS
|
||||||
void * operator new (size_t size, wxChar * fileName, int lineNum)
|
void * operator new (size_t size, wxChar * fileName, int lineNum)
|
||||||
{
|
{
|
||||||
return wxDebugAlloc(size, fileName, lineNum, false, false);
|
return wxDebugAlloc(size, fileName, lineNum, false, false);
|
||||||
@@ -1059,6 +1061,9 @@ void wxDebugFree(void * buf, bool WXUNUSED(isVect) )
|
|||||||
free((char *)st);
|
free((char *)st);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // wxUSE_GLOBAL_MEMORY_OPERATORS
|
||||||
|
#endif // __WXDEBUG__
|
||||||
|
|
||||||
// Trace: send output to the current debugging stream
|
// Trace: send output to the current debugging stream
|
||||||
void wxTrace(const wxChar * ...)
|
void wxTrace(const wxChar * ...)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user