From: Vadim Zeitlin Date: Tue, 1 Feb 2005 21:37:07 +0000 (+0000) Subject: stubs for wxUSE_DBGHELP == 0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2289dcea2ba6b6c1ef9dd9076fb9c632fe009f89 stubs for wxUSE_DBGHELP == 0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/stackwalk.cpp b/src/msw/stackwalk.cpp index d1ee809967..e8009e76f6 100644 --- a/src/msw/stackwalk.cpp +++ b/src/msw/stackwalk.cpp @@ -344,7 +344,61 @@ void wxStackWalker::Walk(size_t skip) #else // !wxUSE_DBGHELP -// TODO: implement stubs +// ============================================================================ +// stubs +// ============================================================================ + +// ---------------------------------------------------------------------------- +// wxStackFrame +// ---------------------------------------------------------------------------- + +void wxStackFrame::OnGetName() +{ +} + +void wxStackFrame::OnGetLocation() +{ +} + +bool +wxStackFrame::GetParam(size_t WXUNUSED(n), + wxString * WXUNUSED(type), + wxString * WXUNUSED(name), + wxString * WXUNUSED(value)) const +{ + return false; +} + +void wxStackFrame::OnParam(PSYMBOL_INFO WXUNUSED(pSymInfo)) +{ +} + +void wxStackFrame::OnGetParam() +{ +} + +// ---------------------------------------------------------------------------- +// wxStackWalker +// ---------------------------------------------------------------------------- + +void +wxStackWalker::WalkFrom(const CONTEXT * WXUNUSED(pCtx), size_t WXUNUSED(skip)) +{ +} + +void +wxStackWalker::WalkFrom(const _EXCEPTION_POINTERS * WXUNUSED(ep), + size_t WXUNUSED(skip)) +{ +} + +void wxStackWalker::WalkFromException() +{ +} + +void wxStackWalker::Walk(size_t WXUNUSED(skip)) +{ +} #endif // wxUSE_DBGHELP/!wxUSE_DBGHELP