X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83475efc94333278d232b842420d2391d66304bb..6f349458f6903083bd967f52624a5e639733ad5d:/src/msw/spinbutt.cpp diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index e3c8964586..607c4f5826 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -153,6 +153,8 @@ bool wxSpinButton::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) #ifndef __GNUWIN32__ #ifdef __BORLANDC__ LPNM_UPDOWN lpnmud = (LPNM_UPDOWN)lParam; +#elif defined(__VISUALC__) && (__VISUALC__ == 1010) + LPNM_UPDOWN lpnmud = (LPNM_UPDOWN)lParam; #else LPNMUPDOWN lpnmud = (LPNMUPDOWN)lParam; #endif