- event.m_eventType = wxEVT_SCROLL_THUMBTRACK;
- break;
-
- default:
- return;
- break;
- }
- if (!GetEventHandler()->ProcessEvent(event))
- Default();
- }
-}
-
-void wxSpinButton::MSWOnHScroll( WXWORD wParam, WXWORD pos, WXHWND control)
-{
- if (control)
- {
- wxSpinEvent event(wxEVT_NULL, m_windowId);
- event.SetPosition(pos);
- event.SetOrientation(wxHORIZONTAL);
- event.SetEventObject( this );
-
- switch ( wParam )
- {
- case SB_TOP:
- event.m_eventType = wxEVT_SCROLL_TOP;
- break;
-
- case SB_BOTTOM:
- event.m_eventType = wxEVT_SCROLL_BOTTOM;
- break;
-
- case SB_LINEUP:
- event.m_eventType = wxEVT_SCROLL_LINEUP;
- break;