comparison os2/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 35c5314083a7
comparison
equal deleted inserted replaced
1679:e19b93a8229b 1680:b09f5f73189c
7245 thisbox->count--; 7245 thisbox->count--;
7246 /* If it isn't padding, reset the parent */ 7246 /* If it isn't padding, reset the parent */
7247 if(handle) 7247 if(handle)
7248 WinSetParent(handle, HWND_OBJECT, FALSE); 7248 WinSetParent(handle, HWND_OBJECT, FALSE);
7249 /* Queue a redraw on the top-level window */ 7249 /* Queue a redraw on the top-level window */
7250 _dw_redraw(_toplevel_window(handle), TRUE); 7250 _dw_redraw(_toplevel_window(parent), TRUE);
7251 return DW_ERROR_NONE; 7251 return DW_ERROR_NONE;
7252 } 7252 }
7253 } 7253 }
7254 return DW_ERROR_GENERAL; 7254 return DW_ERROR_GENERAL;
7255 } 7255 }