Bye bye Colin...
authorMark Sibly <blitzmunter@gmail.com>
Sun, 20 Sep 2015 08:03:15 +0000 (20:03 +1200)
committerMark Sibly <blitzmunter@gmail.com>
Sun, 20 Sep 2015 08:03:15 +0000 (20:03 +1200)
mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos_tiger.m

index 10f222877ee94f7072d371e57be802fe295d18f8..18616e57f95d757f3a8ce4889e465b6c7f67ae0d 100644 (file)
@@ -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];
 }