]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/slider.mm
Add support for specifying child process cwd and env to wxExecute().
[wxWidgets.git] / src / cocoa / slider.mm
index 888a5d809fed4524ff2d5c710d1de2a30d61c6b2..b469a2a67f3c910692f8e65adb25e4f4081ac471 100644 (file)
@@ -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)