void wxStackFrame::OnParam(PSYMBOL_INFO pSymInfo)
{
- m_paramTypes.Add(_T(""));
+ m_paramTypes.Add(wxEmptyString);
m_paramNames.Add(wxString::FromAscii(pSymInfo->Name));
// if symbol information is corrupted and we crash, the exception is going
// to be ignored when we're called from WalkFromException() because of the
- // except handler there returning EXCEPTION_CONTINUE_EXECUTION, but we'd be
- // left in an inconsistent state, so deal with it explicitely here (even if
- // normally we should never crash, of course...)
+ // exception handler there returning EXCEPTION_CONTINUE_EXECUTION, but we'd
+ // be left in an inconsistent state, so deal with it explicitly here (even
+ // if normally we should never crash, of course...)
#ifdef _CPPUNWIND
try
#else
__except ( EXCEPTION_EXECUTE_HANDLER )
#endif
{
- m_paramValues.Add(_T(""));
+ m_paramValues.Add(wxEmptyString);
}
}
{
wxLogError(_("Failed to get stack backtrace:\n%s"),
wxDbgHelpDLL::GetErrorMessage().c_str());
+ return;
}
// according to MSDN, the first parameter should be just a unique value and
return false;
}
-void wxStackFrame::OnParam(PSYMBOL_INFO WXUNUSED(pSymInfo))
+void wxStackFrame::OnParam(_SYMBOL_INFO * WXUNUSED(pSymInfo))
{
}