comparison os2/dw.c @ 1668:724a7361cb42

Missing parameter to WinSetParent() on OS/2.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 26 Apr 2012 20:47:50 +0000
parents 9dbd2984c1e5
children 36a090da4cb1
comparison
equal deleted inserted replaced
1667:9dbd2984c1e5 1668:724a7361cb42
7241 thisbox->items = tmpitem; 7241 thisbox->items = tmpitem;
7242 free(thisitem); 7242 free(thisitem);
7243 thisbox->count--; 7243 thisbox->count--;
7244 /* If it isn't padding, reset the parent */ 7244 /* If it isn't padding, reset the parent */
7245 if(handle) 7245 if(handle)
7246 WinSetParent(handle, HWND_OBJECT); 7246 WinSetParent(handle, HWND_OBJECT, FALSE);
7247 /* Queue a redraw on the top-level window */ 7247 /* Queue a redraw on the top-level window */
7248 _dw_redraw(_toplevel_window(handle), TRUE); 7248 _dw_redraw(_toplevel_window(handle), TRUE);
7249 return DW_ERROR_NONE; 7249 return DW_ERROR_NONE;
7250 } 7250 }
7251 } 7251 }
7286 thisbox->items = tmpitem; 7286 thisbox->items = tmpitem;
7287 free(thisitem); 7287 free(thisitem);
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); 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(handle), TRUE);
7294 return DW_ERROR_NONE; 7294 return DW_ERROR_NONE;
7295 } 7295 }
7296 return DW_ERROR_GENERAL; 7296 return DW_ERROR_GENERAL;