return immediately from WalkFrom() if dbghelp dll initialization fails (part of patch 1212925)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-06-01 22:35:38 +00:00
parent 15d0695440
commit 1d7ea62e9e

View File

@ -220,6 +220,7 @@ void wxStackWalker::WalkFrom(const CONTEXT *pCtx, size_t skip)
{
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