changeset 794:e9bc14c5c72d

Test fix for containers (and probably listboxes) not showing their content changes immediately.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 23 Mar 2011 04:23:31 +0000
parents e328c7746cda
children f23cad02cfb3
files mac/dw.m
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }