// 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)
{
}
OutputDebugString(wxString::Format(_T("tag=%s%s"),
- nested ? _T("nested ") : _T(""),
+ nested ? _T("nested ") : wxEmptyString,
TagString(tag).c_str()));
if ( tag == wxDbgHelpDLL::SYMBOL_TAG_UDT )
{
OutputDebugString(wxString::Format(_T(", next ti=0x%x"), ti));
}
- OutputDebugString("\r\n");
+ OutputDebugString(_T("\r\n"));
}
#endif // NDEBUG