]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
Fixed three mouse event bugs
[wxWidgets.git] / src / msw / spinbutt.cpp
index 462d0513e0c838a4996ada8b0bbb0fd9806c8647..89680b5f5e15a4560f294491b56bd39a96f5a392 100644 (file)
@@ -233,19 +233,16 @@ bool wxSpinButton::MSWCommand(WXUINT cmd, WXWORD id)
   return FALSE;
 }
 
-bool wxSpinButton::MSWNotify(WXWPARAM wParam, WXLPARAM lParam)
+bool wxSpinButton::MSWNotify(WXWPARAM wParam, WXLPARAM lParam, WXLPARAM* result)
 {
        NMHDR* hdr1 = (NMHDR*) lParam;
        switch ( hdr1->code )
        {
-/* We don't process this message, currently */
+        /* We don't process this message, currently */
                case UDN_DELTAPOS:
-               {
-                       return wxControl::MSWNotify(wParam, lParam);
-                       break;
-               }
+
                default :
-                       return wxControl::MSWNotify(wParam, lParam);
+                       return wxControl::MSWNotify(wParam, lParam, result);
                        break;
        }
 /*