X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/780220b099a8016b02a4b78a1e3f0b0c6849b51f..1662942c27c9adb1374bf766062a9871201ee361:/src/cocoa/slider.mm diff --git a/src/cocoa/slider.mm b/src/cocoa/slider.mm index 888a5d809f..b469a2a67f 100644 --- a/src/cocoa/slider.mm +++ b/src/cocoa/slider.mm @@ -8,7 +8,7 @@ // RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott // (c) 2007 Software 2000 Ltd. -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" @@ -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)