changeset 924:8a8d2699bd09

Temporary fix for redraw issue in a notebook and other sub-controls.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 22 Apr 2011 13:21:48 +0000
parents 0ac67b62b594
children 24b19b905f04
files mac/dw.m
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Fri Apr 22 11:43:30 2011 +0000
+++ b/mac/dw.m	Fri Apr 22 13:21:48 2011 +0000
@@ -958,6 +958,7 @@
         Box *box = [view box];
         NSSize size = [view frame].size;
         _do_resize(box, size.width, size.height);
+        _do_resize(box, size.width, size.height);
         _handle_resize_events(box);
     }
     _event_handler(self, (void *)[page pageid], 15);
@@ -1021,6 +1022,7 @@
             Box *box = [view box];
             NSSize size = [view frame].size;
             _do_resize(box, size.width, size.height);
+            _do_resize(box, size.width, size.height);
             _handle_resize_events(box);
         }
     }
@@ -2344,6 +2346,7 @@
                     Box *box = [view box];
                     NSSize size = [view frame].size;
                     _do_resize(box, size.width, size.height);
+                    _do_resize(box, size.width, size.height);
                     _handle_resize_events(box);
                 }
             }