comparison 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
comparison
equal deleted inserted replaced
1668:724a7361cb42 1669:36a090da4cb1
7288 thisbox->count--; 7288 thisbox->count--;
7289 /* If it isn't padding, reset the parent */ 7289 /* If it isn't padding, reset the parent */
7290 if(handle) 7290 if(handle)
7291 WinSetParent(handle, HWND_OBJECT, FALSE); 7291 WinSetParent(handle, HWND_OBJECT, FALSE);
7292 /* Queue a redraw on the top-level window */ 7292 /* Queue a redraw on the top-level window */
7293 _dw_redraw(_toplevel_window(handle), TRUE); 7293 _dw_redraw(_toplevel_window(box), TRUE);
7294 return DW_ERROR_NONE; 7294 return handle;
7295 } 7295 }
7296 return DW_ERROR_GENERAL; 7296 return 0;
7297 } 7297 }
7298 7298
7299 /* 7299 /*
7300 * Pack windows (widgets) into a box at an arbitrary location. 7300 * Pack windows (widgets) into a box at an arbitrary location.
7301 * Parameters: 7301 * Parameters: