From e84ba59e3e52c3a24f40bc23e69d5e9b7d86fdd4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 18 Jan 2005 12:46:55 +0000 Subject: [PATCH] Unicode compilation fix for debugging code which is also commented out now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/debughlp.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/msw/debughlp.cpp b/src/msw/debughlp.cpp index 6e91403895..98b35f06e0 100644 --- a/src/msw/debughlp.cpp +++ b/src/msw/debughlp.cpp @@ -493,7 +493,9 @@ wxDbgHelpDLL::DumpSymbol(PSYMBOL_INFO pSym, void *pVariable) // debugging helpers // ---------------------------------------------------------------------------- -#ifndef NDEBUG +// this code is very useful when debugging debughlp.dll-related code but +// probably not worth having compiled in normally, please do not remove it! +#if 0 // ndef NDEBUG static wxString TagString(wxDbgHelpDLL::SymbolTag tag) { @@ -708,7 +710,7 @@ extern "C" void DumpTI(ULONG ti) OutputDebugString(wxString::Format(_T(", next ti=0x%x"), ti)); } - OutputDebugString("\r\n"); + OutputDebugString(_T("\r\n")); } #endif // NDEBUG -- 2.45.2