comparison mac/dw.m @ 1334:5e2ec37d1680

Attempt to make dw_container_cursor() scroll to the item on Mac.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 13 Nov 2011 08:16:36 +0000
parents 3f1ac800bf65
children 44f8a846f3c1
comparison
equal deleted inserted replaced
1333:c993df7ffdd8 1334:5e2ec37d1680
6271 { 6271 {
6272 NSIndexSet *selected = [[NSIndexSet alloc] initWithIndex:(NSUInteger)x]; 6272 NSIndexSet *selected = [[NSIndexSet alloc] initWithIndex:(NSUInteger)x];
6273 6273
6274 [cont selectRowIndexes:selected byExtendingSelection:YES]; 6274 [cont selectRowIndexes:selected byExtendingSelection:YES];
6275 [selected release]; 6275 [selected release];
6276 [cont scrollRowToVisible:x];
6276 } 6277 }
6277 } 6278 }
6278 DW_MUTEX_UNLOCK; 6279 DW_MUTEX_UNLOCK;
6279 } 6280 }
6280 6281