+ }
+
+ if ( oldValue - m_value == -1 )
+ scrollEvent = wxEVT_SCROLL_LINEDOWN ;
+ else if ( oldValue - m_value == 1 )
+ scrollEvent = wxEVT_SCROLL_LINEUP ;
+ else
+ scrollEvent = wxEVT_SCROLL_THUMBTRACK ;
+
+ wxSpinEvent event(scrollEvent, m_windowId);