comparison win/dw.c @ 1680:b09f5f73189c

On OS/2 and Windows need to use the parent (box) handle not the item handle to trigger window redrawing.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 28 Apr 2012 17:06:20 +0000
parents e19b93a8229b
children e02101d1b8ba
comparison
equal deleted inserted replaced
1679:e19b93a8229b 1680:b09f5f73189c
7019 thisbox->items = tmpitem; 7019 thisbox->items = tmpitem;
7020 free(thisitem); 7020 free(thisitem);
7021 thisbox->count--; 7021 thisbox->count--;
7022 SetParent(handle, DW_HWND_OBJECT); 7022 SetParent(handle, DW_HWND_OBJECT);
7023 /* Queue a redraw on the top-level window */ 7023 /* Queue a redraw on the top-level window */
7024 _dw_redraw(_toplevel_window(handle), TRUE); 7024 _dw_redraw(_toplevel_window(parent), TRUE);
7025 return DW_ERROR_NONE; 7025 return DW_ERROR_NONE;
7026 } 7026 }
7027 } 7027 }
7028 return DW_ERROR_GENERAL; 7028 return DW_ERROR_GENERAL;
7029 } 7029 }