}
event.SetPosition(new_pos);
event.SetEventObject( this );
- GetEventHandler()->ProcessEvent(event);
+ wxWindow* window = GetParent() ;
+ if (window && window->MacIsWindowScrollbar(this) )
+ {
+ // this is hardcoded
+ window->MacOnScroll(event);
+ }
+ else
+ GetEventHandler()->ProcessEvent(event);
}