]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/scrolbar.mm
Take basic style into account when applying style sheet
[wxWidgets.git] / src / cocoa / scrolbar.mm
index bfda3d24164985beb2bb44840ef36d36be3b9607..1ce04db251633851a2f94fa78ed1f3c0708d61fa 100644 (file)
@@ -176,7 +176,7 @@ void wxScrollBar::Cocoa_wxNSScrollerAction()
     wxScrollEvent event(command, GetId(), GetThumbPosition(),
         HasFlag(wxSB_VERTICAL)?wxVERTICAL:wxHORIZONTAL);
     event.SetEventObject(this);
-    GetEventHandler()->ProcessEvent(event);
+    HandleWindowEvent(event);
 }
 
 #endif // wxUSE_SCROLLBAR