# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1300854211 0 # Node ID e9bc14c5c72d3d682af658dc6fde36bba7c4a107 # Parent e328c7746cdacc7a8ccc9269cb59a59c0f4da487 Test fix for containers (and probably listboxes) not showing their content changes immediately. diff -r e328c7746cda -r e9bc14c5c72d mac/dw.m --- a/mac/dw.m Tue Mar 22 22:01:05 2011 +0000 +++ b/mac/dw.m Wed Mar 23 04:23:31 2011 +0000 @@ -3185,6 +3185,7 @@ withObject:newrow waitUntilDone:YES];*/ [cont reloadData]; + [cont setNeedsDisplay:YES]; } DW_MUTEX_UNLOCK; } @@ -3216,6 +3217,7 @@ [cont insertRow:newrow at:pos]; [cont reloadData]; + [cont setNeedsDisplay:YES]; } DW_MUTEX_UNLOCK; } @@ -3256,6 +3258,7 @@ [cont addRow:newrow]; } [cont reloadData]; + [cont setNeedsDisplay:YES]; } DW_MUTEX_UNLOCK; } @@ -3283,6 +3286,7 @@ [cont clear]; [cont reloadData]; + [cont setNeedsDisplay:YES]; } DW_MUTEX_UNLOCK; } @@ -3424,6 +3428,7 @@ [cont editCell:nstr at:index and:0]; [cont reloadData]; + [cont setNeedsDisplay:YES]; } } DW_MUTEX_UNLOCK; @@ -3539,6 +3544,7 @@ [cont removeRow:index]; [cont reloadData]; + [cont setNeedsDisplay:YES]; } DW_MUTEX_UNLOCK; } @@ -4580,6 +4586,7 @@ } [cont editCell:object at:(row+lastadd) and:column]; + [cont setNeedsDisplay:YES]; DW_MUTEX_UNLOCK; }