From bb4df97199be77567248fd0c53bb8685427e2ede Mon Sep 17 00:00:00 2001 From: Mark Sibly Date: Sun, 20 Sep 2015 20:03:15 +1200 Subject: [PATCH] Bye bye Colin... --- mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos_tiger.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos_tiger.m b/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos_tiger.m index 10f2228..18616e5 100644 --- a/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos_tiger.m +++ b/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos_tiger.m @@ -311,7 +311,7 @@ void ScheduleEventDispatch(){ @interface TreeView:NSScrollView{ @public NSOutlineView *outline; - NSTableColumn *column,*colin; + NSTableColumn *column;//,*colin; NSBrowserCell *cell; NodeItem *rootNode; NSDictionary *textstyle; @@ -1211,6 +1211,7 @@ tableColumn:(NSTableColumn *)aTableColumn row:(int)row mouseLocation:(NSPoint)mo [column setDataCell:cell]; [self setDocumentView:outline]; [outline sizeLastColumnToFit]; + return self; } -(void)dealloc{ @@ -1240,7 +1241,7 @@ tableColumn:(NSTableColumn *)aTableColumn row:(int)row mouseLocation:(NSPoint)mo return [item canExpand]; } -(id)outlineView:(NSOutlineView*)outlineView objectValueForTableColumn:(NSTableColumn*)tableColumn byItem:(id)item{ - if (tableColumn==colin) return @""; +// if (tableColumn==colin) return @""; if( !item ) item=rootNode; return [item value]; } -- 2.30.2