diff --git a/AppKit/CPSplitView.j b/AppKit/CPSplitView.j index bcc81f1c1..fe14a67b8 100644 --- a/AppKit/CPSplitView.j +++ b/AppKit/CPSplitView.j @@ -730,8 +730,8 @@ var CPSplitViewHorizontalImage = nil, Notifies the delegate that the splitview is about to be collapsed. This usually happens when the user Double clicks on the divider. Return YES if the subview can be collapsed, otherwise NO. - - (BOOL)splitView:(CPSplitView)aSplitView shouldCollapseSubview:(CPView)aSubview; - Notifies the delegate that the splitview is about to be collapsed. This usually happens when the user + - (BOOL)splitView:(CPSplitView)aSplitView shouldCollapseSubview:(CPView)aSubview forDoubleClickOnDividerAtIndex:(int)indexOfDivider; + Notifies the delegate that the subview at indexOfDivider is about to be collapsed. This usually happens when the user Double clicks on the divider. Return YES if the subview should be collapsed, otherwise NO. - (float)splitView:(CPSplitView)aSpiltView constrainSplitPosition:(float)proposedPosition ofSubviewAt:(int)subviewIndex;