X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..fe164c3e2ea5453896cd63a5440a26365daec1bc:/src/common/memory.cpp diff --git a/src/common/memory.cpp b/src/common/memory.cpp index 7509750cd3..ce4051ad84 100644 --- a/src/common/memory.cpp +++ b/src/common/memory.cpp @@ -54,7 +54,7 @@ #include #ifdef __WXMSW__ -#include +#include "wx/msw/wrapwin.h" #ifdef GetClassInfo #undef GetClassInfo @@ -1076,6 +1076,8 @@ void wxTraceLevel(int, const wxChar * ...) } #else // wxUSE_MEMORY_TRACING && defined(__WXDEBUG__) +// Already defined in memory.h +#if 0 void wxTrace(const char *WXUNUSED(fmt) ...) { } @@ -1084,4 +1086,5 @@ void wxTraceLevel(int WXUNUSED(level), const char *WXUNUSED(fmt) ...) { } #endif +#endif