# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1335489429 0 # Node ID db393069b27d5afe989ffcd04b0e0125e1209b36 # Parent 42890a2b8d3e81d34cbcd66b3c8d5a3a5417146b Fix packing padding not triggering automatic redraws on OS/2, Mac and Windows. diff -r 42890a2b8d3e -r db393069b27d mac/dw.m --- a/mac/dw.m Thu Apr 26 23:26:35 2012 +0000 +++ b/mac/dw.m Fri Apr 27 01:17:09 2012 +0000 @@ -3893,7 +3893,7 @@ [button setParent:view]; } /* Queue a redraw on the top-level window */ - _dw_redraw([object window], TRUE); + _dw_redraw([view window], TRUE); /* Free the old data */ if(thisbox->count) diff -r 42890a2b8d3e -r db393069b27d os2/dw.c --- a/os2/dw.c Thu Apr 26 23:26:35 2012 +0000 +++ b/os2/dw.c Fri Apr 27 01:17:09 2012 +0000 @@ -7190,7 +7190,7 @@ WinSetParent(frame ? frame : item, box, FALSE); _handle_transparent(box); /* Queue a redraw on the top-level window */ - _dw_redraw(_toplevel_window(item), TRUE); + _dw_redraw(_toplevel_window(box), TRUE); } } diff -r 42890a2b8d3e -r db393069b27d win/dw.c --- a/win/dw.c Thu Apr 26 23:26:35 2012 +0000 +++ b/win/dw.c Fri Apr 27 01:17:09 2012 +0000 @@ -6968,7 +6968,7 @@ } } /* Queue a redraw on the top-level window */ - _dw_redraw(_toplevel_window(item), TRUE); + _dw_redraw(_toplevel_window(box), TRUE); } }