Mercurial > dwindows
comparison os2/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 | 8493f8888893 |
children | 6fe1e91da477 |
comparison
equal
deleted
inserted
replaced
1653:a7a24a3b8899 | 1654:3d4066aab4e0 |
---|---|
4541 } | 4541 } |
4542 | 4542 |
4543 thisbox->items = tmpitem; | 4543 thisbox->items = tmpitem; |
4544 free(thisitem); | 4544 free(thisitem); |
4545 thisbox->count--; | 4545 thisbox->count--; |
4546 /* Queue a redraw on the top-level window */ | |
4547 _dw_redraw(_toplevel_window(handle), TRUE); | |
4546 } | 4548 } |
4547 _free_window_memory(frame ? frame : handle); | 4549 _free_window_memory(frame ? frame : handle); |
4548 } | 4550 } |
4549 return WinDestroyWindow(frame ? frame : handle); | 4551 return WinDestroyWindow(frame ? frame : handle); |
4550 } | 4552 } |