From 11e5cd4f8456df65fdacd25f07286dccb8ef8d4d Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Mon, 9 Dec 2013 01:22:05 -0800 Subject: [PATCH] Fixed: CPOutlineViewDelegate and CPOutlineViewDataSource protocol do not implement CPObject protocol --- AppKit/CPOutlineView.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPOutlineView.j b/AppKit/CPOutlineView.j index 5e6ab3daa..220c50202 100644 --- a/AppKit/CPOutlineView.j +++ b/AppKit/CPOutlineView.j @@ -89,7 +89,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0, #define SHOULD_SELECT_ITEM(anOutlineView, anItem) (!((anOutlineView)._implementedOutlineViewDelegateMethods & CPOutlineViewDelegate_outlineView_shouldSelectItem_) || [(anOutlineView)._outlineViewDelegate outlineView:(anOutlineView) shouldSelectItem:(anItem)]) -@protocol CPOutlineViewDelegate +@protocol CPOutlineViewDelegate @optional - (BOOL)outlineView:(CPOutlineView)anOutlineView isGroupItem:(id)anItem; @@ -122,7 +122,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0, @end -@protocol CPOutlineViewDataSource +@protocol CPOutlineViewDataSource @optional - (BOOL)outlineView:(CPOutlineView)anOutlineView acceptDrop:(id /**/)info item:(id)anItem childIndex:(CPInteger)anIndex;