correct setting of pSymbol->SizeOfStruct (patch 1737789)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-06-17 00:51:36 +00:00
parent b01204c942
commit d476275306
2 changed files with 2 additions and 1 deletions

View File

@@ -173,6 +173,7 @@ wxMSW:
- Correct problem with page setup dialog when using landscape mode
- Added msw.font.no-proof-quality system option, see manual for description
- Fix appearance of notebook with non-top tabs under Windows Vista
- Fixed bug with symbol resolving in wxStackWalker (Axel Gembe)
wxGTK:

View File

@@ -56,7 +56,7 @@ void wxStackFrame::OnGetName()
wxZeroMemory(symbolBuffer);
PSYMBOL_INFO pSymbol = (PSYMBOL_INFO)symbolBuffer;
pSymbol->SizeOfStruct = sizeof(symbolBuffer);
pSymbol->SizeOfStruct = sizeof(SYMBOL_INFO);
pSymbol->MaxNameLen = MAX_NAME_LEN;
DWORD64 symDisplacement = 0;