]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/slider.mm
Enable the correct code making sure that subwindows will always receive a wxSizeEvent...
[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)