]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
renamed gsockmot.cpp to *.c
[wxWidgets.git] / src / msw / spinbutt.cpp
index b83b6f0493f8357d98ef933dfd16b2f0533cd600..607c4f5826d5176181e3cd8bf7250ef26180f9c6 100644 (file)
@@ -151,7 +151,13 @@ 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;
+#elif defined(__VISUALC__) && (__VISUALC__ == 1010)
+    LPNM_UPDOWN lpnmud = (LPNM_UPDOWN)lParam;
+#else
     LPNMUPDOWN lpnmud = (LPNMUPDOWN)lParam;
+#endif
 
     wxSpinEvent event(lpnmud->iDelta > 0 ? wxEVT_SCROLL_LINEUP
                                          : wxEVT_SCROLL_LINEDOWN,