From 383dcd5ee645f064cb669fb1cbaa4e4a2bb73317 Mon Sep 17 00:00:00 2001 From: meelash Date: Mon, 28 Feb 2011 20:19:00 -0500 Subject: [PATCH] Corrected mistake in CPSplitView delegate documentation --- AppKit/CPSplitView.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;