Mercurial > dwindows
diff os2/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 | 35c5314083a7 |
line wrap: on
line diff
--- a/os2/dw.c Fri Apr 27 16:02:32 2012 +0000 +++ b/os2/dw.c Sat Apr 28 17:06:20 2012 +0000 @@ -7247,7 +7247,7 @@ if(handle) WinSetParent(handle, HWND_OBJECT, FALSE); /* Queue a redraw on the top-level window */ - _dw_redraw(_toplevel_window(handle), TRUE); + _dw_redraw(_toplevel_window(parent), TRUE); return DW_ERROR_NONE; } }