# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1303478508 0 # Node ID 8a8d2699bd090a78af97944d39dd2bd312286fa4 # Parent 0ac67b62b594f0eeebcc72aae31e210e76d90285 Temporary fix for redraw issue in a notebook and other sub-controls. diff -r 0ac67b62b594 -r 8a8d2699bd09 mac/dw.m --- 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); } }