Applied patch [ 1113624 ] MSW DLL requires global new/delete ops inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -917,6 +917,7 @@ static MemoryCriticalSection memLocker;
|
||||
|
||||
#endif
|
||||
|
||||
#if !(defined(__WXMSW__) && (defined(WXUSINGDLL) || defined(WXMAKINGDLL_BASE)))
|
||||
#ifdef __WXDEBUG__
|
||||
#if wxUSE_GLOBAL_MEMORY_OPERATORS
|
||||
void * operator new (size_t size, wxChar * fileName, int lineNum)
|
||||
@@ -949,7 +950,8 @@ void operator delete[] (void * buf)
|
||||
{
|
||||
wxDebugFree(buf, true);
|
||||
}
|
||||
#endif
|
||||
#endif // wxUSE_ARRAY_MEMORY_OPERATORS
|
||||
#endif // !(defined(__WXMSW__) && (defined(WXUSINGDLL) || defined(WXMAKINGDLL_BASE)))
|
||||
#endif // wxUSE_GLOBAL_MEMORY_OPERATORS
|
||||
|
||||
// TODO: store whether this is a vector or not.
|
||||
|
Reference in New Issue
Block a user