]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
merged optimizations from 2.2
[wxWidgets.git] / src / msw / slider95.cpp
index e5667dd39178d6711f4b6dfe1eb9c217a2233f4a..77cf291c9fd46be3ff56a10f75667af3e8c5f51f 100644 (file)
@@ -260,6 +260,7 @@ bool wxSlider95::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam,
     GetEventHandler()->ProcessEvent(event);
 
     wxCommandEvent cevent( wxEVT_COMMAND_SLIDER_UPDATED, GetId() );
+    cevent.SetInt( newPos );
     cevent.SetEventObject( this );
 
     return GetEventHandler()->ProcessEvent( cevent );