comparison mac/dw.m @ 2190:4cb258fb6729

Mac: Fix overlooked change in the NSCell code.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 15 Oct 2020 04:45:11 +0000
parents a5d58393f7d0
children 7331f3c13fd7
comparison
equal deleted inserted replaced
2189:a5d58393f7d0 2190:4cb258fb6729
7829 else /* Otherwise replace it with a new cell */ 7829 else /* Otherwise replace it with a new cell */
7830 [cont editCell:_dw_table_cell_view_new(icon, text) at:(row+lastadd) and:0]; 7830 [cont editCell:_dw_table_cell_view_new(icon, text) at:(row+lastadd) and:0];
7831 #else 7831 #else
7832 DWImageAndTextCell *browsercell = [[[DWImageAndTextCell alloc] init] autorelease]; 7832 DWImageAndTextCell *browsercell = [[[DWImageAndTextCell alloc] init] autorelease];
7833 [browsercell setImage:icon]; 7833 [browsercell setImage:icon];
7834 [browsercell setStringValue:[NSString stringWithUTF8String:filename]]; 7834 [browsercell setStringValue:text];
7835 [cont editCell:browsercell at:(row+lastadd) and:0]; 7835 [cont editCell:browsercell at:(row+lastadd) and:0];
7836 #endif 7836 #endif
7837 [cont setNeedsDisplay:YES]; 7837 [cont setNeedsDisplay:YES];
7838 DW_FUNCTION_RETURN_NOTHING; 7838 DW_FUNCTION_RETURN_NOTHING;
7839 } 7839 }