]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
Added automatic dialog scrolling ability
[wxWidgets.git] / src / msw / slider95.cpp
index 8bef10518a09d89900eae6a4d57d6d3329c61b9f..3a0dbfb80ea7874f44aac6bf8418b8f0319386ea 100644 (file)
@@ -364,13 +364,13 @@ bool wxSlider::MSWOnScroll(int WXUNUSED(orientation),
     wxScrollEvent event(scrollEvent, m_windowId);
     event.SetPosition(newPos);
     event.SetEventObject( this );
-    GetEventHandler()->ProcessEvent(event);
+    HandleWindowEvent(event);
 
     wxCommandEvent cevent( wxEVT_COMMAND_SLIDER_UPDATED, GetId() );
     cevent.SetInt( newPos );
     cevent.SetEventObject( this );
 
-    return GetEventHandler()->ProcessEvent( cevent );
+    return HandleWindowEvent( cevent );
 }
 
 void wxSlider::Command (wxCommandEvent & event)