diff --git a/src/msw/stackwalk.cpp b/src/msw/stackwalk.cpp index 90a07b745c..0566e96ab8 100644 --- a/src/msw/stackwalk.cpp +++ b/src/msw/stackwalk.cpp @@ -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