]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/stackwalk.cpp
#9675: wxDataViewModel::Reset() and scrollbar problem (wxMac)
[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);