Make wxMSW stack walking methods work with Unicode identifiers.
This allows to show the stack properly for e.g. Japanese programs. Closes #15138. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Name: wx/msw/stackwalk.h
|
||||
// Purpose: wxStackWalker for MSW
|
||||
// Author: Vadim Zeitlin
|
||||
// Modified by:
|
||||
// Modified by: Suzumizaki-kimitaka 2013-04-09
|
||||
// Created: 2005-01-08
|
||||
// Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
|
||||
// Licence: wxWindows licence
|
||||
@@ -19,6 +19,7 @@ struct _EXCEPTION_POINTERS;
|
||||
|
||||
// and these in dbghelp.h
|
||||
struct _SYMBOL_INFO;
|
||||
struct _SYMBOL_INFOW;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxStackFrame
|
||||
@@ -52,7 +53,11 @@ public:
|
||||
GetParam(size_t n, wxString *type, wxString *name, wxString *value) const;
|
||||
|
||||
// callback used by OnGetParam(), don't call directly
|
||||
void OnParam(_SYMBOL_INFO *pSymInfo);
|
||||
#ifdef UNICODE
|
||||
void OnParam(_SYMBOL_INFOW * pSymInfo);
|
||||
#else
|
||||
void OnParam(_SYMBOL_INFO * pSymInfo);
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual void OnGetName();
|
||||
|
Reference in New Issue
Block a user