]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/slider.mm
Eliminated WX_PG_DECLARE/IMPLEMENT_DERIVED_PROPERTY_CLASS
[wxWidgets.git] / src / cocoa / slider.mm
index 888a5d809fed4524ff2d5c710d1de2a30d61c6b2..b198acdcb82ac843ede1d58ef2e55505e19d3655 100644 (file)
@@ -111,7 +111,7 @@ void wxSlider::ProcessEventType(wxEventType commandType)
 {
     wxScrollEvent event(commandType, GetId(), GetValue(), HasFlag(wxSL_VERTICAL)?wxVERTICAL:wxHORIZONTAL);
     event.SetEventObject(this);
-    GetEventHandler()->ProcessEvent(event);
+    HandleWindowEvent(event);
 }
 
 static inline wxEventType wxSliderEventTypeForKeyFromEvent(NSEvent *theEvent)