wxMac completed so far, generic listctrl extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -152,6 +152,13 @@ void wxScrollBar::MacHandleControlClick( ControlHandle control , SInt16 controlp
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user