]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/slider.cpp
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
[wxWidgets.git] / src / os2 / slider.cpp
index eec25e5f92f79eb3807f5878ce9a76c504c7208b..b9864249f51f491dad78fe740eb8c879bbcbd445 100644 (file)
@@ -972,13 +972,13 @@ bool wxSlider::OS2OnScroll( int    WXUNUSED(nOrientation),
 
     vEvent.SetPosition(nNewPos);
     vEvent.SetEventObject(this);
-    GetEventHandler()->ProcessEvent(vEvent);
+    HandleWindowEvent(vEvent);
 
     wxCommandEvent vCevent( wxEVT_COMMAND_SLIDER_UPDATED, GetId() );
 
     vCevent.SetInt(nNewPos);
     vCevent.SetEventObject(this);
-    return (GetEventHandler()->ProcessEvent(vCevent));
+    return (HandleWindowEvent(vCevent));
 } // end of wxSlider::OS2OnScroll
 
 void wxSlider::SetLineSize( int nLineSize )