]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
drawing optimization fix
[wxWidgets.git] / src / msw / spinbutt.cpp
index 56d537619e8380f03866f7bfd1059bf8505f75f6..89680b5f5e15a4560f294491b56bd39a96f5a392 100644 (file)
@@ -233,26 +233,23 @@ 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;
        }
 /*
        event.eventObject = this;
        event.SetEventType(eventType);
 
-       if ( !ProcessEvent(event) )
+       if ( !GetEventHandler()->ProcessEvent(event) )
                return FALSE;
 */
        return TRUE;