comparison 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
comparison
equal deleted inserted replaced
1668:724a7361cb42 1669:36a090da4cb1
7064 thisbox->count--; 7064 thisbox->count--;
7065 /* If it isn't padding, reset the parent */ 7065 /* If it isn't padding, reset the parent */
7066 if(handle) 7066 if(handle)
7067 SetParent(handle, DW_HWND_OBJECT); 7067 SetParent(handle, DW_HWND_OBJECT);
7068 /* Queue a redraw on the top-level window */ 7068 /* Queue a redraw on the top-level window */
7069 _dw_redraw(_toplevel_window(handle), TRUE); 7069 _dw_redraw(_toplevel_window(box), TRUE);
7070 return DW_ERROR_NONE; 7070 return handle;
7071 } 7071 }
7072 return DW_ERROR_GENERAL; 7072 return 0;
7073 } 7073 }
7074 7074
7075 /* 7075 /*
7076 * Pack windows (widgets) into a box at an arbitrary location. 7076 * Pack windows (widgets) into a box at an arbitrary location.
7077 * Parameters: 7077 * Parameters: