]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/spinbutt.mm
Don't pass NULL to wxDir, rather hop over when trying to find dir with translation
[wxWidgets.git] / src / cocoa / spinbutt.mm
index a304c38be5be61baca461477ee0e1e409aba6606..2e3f8e9c4a02430b2719ac2888e178263acf1f14 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/07/14
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWidgets licence
+// Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
@@ -80,7 +80,7 @@ void wxSpinButton::CocoaTarget_action()
     wxSpinEvent event(wxEVT_SCROLL_THUMBTRACK, GetId());
     event.SetPosition(GetValue());
     event.SetEventObject(this);
-    GetEventHandler()->ProcessEvent(event);
+    HandleWindowEvent(event);
 }
 
 #endif // wxUSE_SPINBTN