Mercurial > dwindows
comparison win/dw.c @ 1654:3d4066aab4e0
Fixed windows not automatically redrawing when removing items from a layout
on OS/2, Mac and Windows.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 09 Apr 2012 21:06:50 +0000 |
parents | a7a24a3b8899 |
children | 6fe1e91da477 |
comparison
equal
deleted
inserted
replaced
1653:a7a24a3b8899 | 1654:3d4066aab4e0 |
---|---|
4372 } | 4372 } |
4373 | 4373 |
4374 thisbox->items = tmpitem; | 4374 thisbox->items = tmpitem; |
4375 free(thisitem); | 4375 free(thisitem); |
4376 thisbox->count--; | 4376 thisbox->count--; |
4377 /* Queue a redraw on the top-level window */ | |
4378 _dw_redraw(_toplevel_window(handle), TRUE); | |
4377 } | 4379 } |
4378 _free_window_memory(handle, 0); | 4380 _free_window_memory(handle, 0); |
4379 EnumChildWindows(handle, _free_window_memory, 0); | 4381 EnumChildWindows(handle, _free_window_memory, 0); |
4380 } | 4382 } |
4381 return DestroyWindow(handle); | 4383 return DestroyWindow(handle); |