changeset 1673:db393069b27d

Fix packing padding not triggering automatic redraws on OS/2, Mac and Windows.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 27 Apr 2012 01:17:09 +0000
parents 42890a2b8d3e
children 923af93e4084
files mac/dw.m os2/dw.c win/dw.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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);
    }
 }
 
--- 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);
    }
 }