]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode compilation fix for debugging code which is also commented out now
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Jan 2005 12:46:55 +0000 (12:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Jan 2005 12:46:55 +0000 (12:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/debughlp.cpp

index 6e91403895ce18f2e80d0da6624b7a03e0de0b1b..98b35f06e0f32da9ed6e9a08379ea8d871600f1a 100644 (file)
@@ -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