X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65fd5cb0124e62ab1fc41f93382a205d95b00e75..4cb122de97b40f0b6c8896f40847a7aaf762abb5:/src/msw/spinbutt.cpp diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index b83b6f0493..e3c8964586 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -151,7 +151,11 @@ bool wxSpinButton::MSWOnScroll(int orientation, WXWORD wParam, bool wxSpinButton::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) { #ifndef __GNUWIN32__ +#ifdef __BORLANDC__ + LPNM_UPDOWN lpnmud = (LPNM_UPDOWN)lParam; +#else LPNMUPDOWN lpnmud = (LPNMUPDOWN)lParam; +#endif wxSpinEvent event(lpnmud->iDelta > 0 ? wxEVT_SCROLL_LINEUP : wxEVT_SCROLL_LINEDOWN,