From: Mark Sibly Date: Sun, 20 Sep 2015 08:03:15 +0000 (+1200) Subject: Bye bye Colin... X-Git-Tag: v151~9 X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=bb4df97199be77567248fd0c53bb8685427e2ede;p=blitzmax.git Bye bye Colin... --- 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]; }