Mercurial > dwindows
diff win/dw.c @ 1680:b09f5f73189c
On OS/2 and Windows need to use the parent (box) handle not the item
handle to trigger window redrawing.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 28 Apr 2012 17:06:20 +0000 |
parents | e19b93a8229b |
children | e02101d1b8ba |
line wrap: on
line diff
--- a/win/dw.c Fri Apr 27 16:02:32 2012 +0000 +++ b/win/dw.c Sat Apr 28 17:06:20 2012 +0000 @@ -7021,7 +7021,7 @@ thisbox->count--; SetParent(handle, DW_HWND_OBJECT); /* Queue a redraw on the top-level window */ - _dw_redraw(_toplevel_window(handle), TRUE); + _dw_redraw(_toplevel_window(parent), TRUE); return DW_ERROR_NONE; } }