diff os2/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 724a7361cb42
children 86d7bce8f4c6
line wrap: on
line diff
--- a/os2/dw.c	Thu Apr 26 20:47:50 2012 +0000
+++ b/os2/dw.c	Thu Apr 26 21:18:37 2012 +0000
@@ -7290,10 +7290,10 @@
       if(handle)
          WinSetParent(handle, HWND_OBJECT, FALSE);
       /* 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;
 }
 
 /*