X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4de6207afa9a78be63fe93df44ff5b90cecd2781..d1af991f497a5e95d8f8ab15a4e4a4a4c375928f:/src/common/memory.cpp diff --git a/src/common/memory.cpp b/src/common/memory.cpp index 1826fb17c0..4b8af7b876 100644 --- a/src/common/memory.cpp +++ b/src/common/memory.cpp @@ -664,7 +664,7 @@ bool wxDebugContext::Dump(void) // if (!HasStream()) // return FALSE; - if (TRUE) +// if (TRUE) { wxChar* appName = _T("application"); wxString appNameStr(""); @@ -721,7 +721,7 @@ bool wxDebugContext::PrintStatistics(bool detailed) // if (!HasStream()) // return FALSE; - if (TRUE) +// if (TRUE) { wxChar* appName = _T("application"); wxString appNameStr(_T("")); @@ -820,7 +820,7 @@ bool wxDebugContext::PrintClasses(void) // if (!HasStream()) // return FALSE; - if (TRUE) +// if (TRUE) { wxChar* appName = _T("application"); wxString appNameStr(_T("")); @@ -1146,7 +1146,11 @@ void wxTrace(const wxChar *fmt ...) } else #ifdef __WXMSW__ +#ifdef __WIN32__ OutputDebugString((LPCTSTR)buffer) ; +#else + OutputDebugString((const char*) buffer) ; +#endif #else fprintf(stderr, buffer); #endif @@ -1178,7 +1182,11 @@ void wxTraceLevel(int level, const wxChar *fmt ...) } else #ifdef __WXMSW__ +#ifdef __WIN32__ OutputDebugString((LPCTSTR)buffer) ; +#else + OutputDebugString((const char*) buffer) ; +#endif #else fprintf(stderr, buffer); #endif