X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bd5bbc948bd22c5a0edde9e35e4995c919f593b..72fc5caf0644f2ac2f110a07c037e5f3b0c73829:/include/wx/memory.h diff --git a/include/wx/memory.h b/include/wx/memory.h index 94356b2dd8..21b9545a96 100644 --- a/include/wx/memory.h +++ b/include/wx/memory.h @@ -68,21 +68,22 @@ void wxDebugFree(void * buf, bool isVect = FALSE); // Added JACS 25/11/98: needed for some compilers void * operator new (size_t size); -void * operator new (size_t size, wxChar * fileName, int lineNum); +WXDLLEXPORT void * operator new (size_t size, wxChar * fileName, int lineNum); + #if !defined(__VISAGECPP__) void operator delete (void * buf); #endif #if wxUSE_ARRAY_MEMORY_OPERATORS - void * operator new[] (size_t size); - void * operator new[] (size_t size, wxChar * fileName, int lineNum); - void operator delete[] (void * buf); + WXDLLEXPORT void* operator new[] (size_t size); + WXDLLEXPORT void* operator new[] (size_t size, wxChar * fileName, int lineNum); + WXDLLEXPORT void operator delete[] (void * buf); #endif // VC++ 6.0 #if defined(__VISUALC__) && (__VISUALC__ >= 1200) - void operator delete(void *buf, wxChar*, int); - void operator delete[](void *buf, wxChar*, int); + WXDLLEXPORT void operator delete(void *buf, wxChar*, int); + WXDLLEXPORT void operator delete[](void *buf, wxChar*, int); #endif #endif