Mercurial > dwindows
diff win/dw.c @ 1669:36a090da4cb1
Initial implementation of dw_box_remove() for GTK2/3 and stub for dw_box_remove_at_index().
Fixed errors in the OS/2 and Windows dw_box_remove_at_index() implementations.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 26 Apr 2012 21:18:37 +0000 |
parents | 9dbd2984c1e5 |
children | db393069b27d |
line wrap: on
line diff
--- a/win/dw.c Thu Apr 26 20:47:50 2012 +0000 +++ b/win/dw.c Thu Apr 26 21:18:37 2012 +0000 @@ -7066,10 +7066,10 @@ if(handle) SetParent(handle, DW_HWND_OBJECT); /* Queue a redraw on the top-level window */ - _dw_redraw(_toplevel_window(handle), TRUE); - return DW_ERROR_NONE; - } - return DW_ERROR_GENERAL; + _dw_redraw(_toplevel_window(box), TRUE); + return handle; + } + return 0; } /*