]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/stackwalk.cpp
forward WM_HELP from the buddy control to the main one in order to make context sensi...
[wxWidgets.git] / src / msw / stackwalk.cpp
index 02e0bcad46611ba7a9bafe8d52f2e2ea78ec91e2..212c2eda6919da527ac9ffa72c818353dd54c42e 100644 (file)
@@ -293,7 +293,7 @@ void wxStackWalker::WalkFrom(const CONTEXT *pCtx, size_t skip, size_t maxDepth)
         if ( nLevel >= skip )
         {
             wxStackFrame frame(nLevel - skip,
-                               (void *)sf.AddrPC.Offset,
+                               wxUIntToPtr(sf.AddrPC.Offset),
                                sf.AddrFrame.Offset);
 
             OnStackFrame(frame);