Mercurial > vim
changeset 4015:699f8d8f096d v7.3.762
updated for version 7.3.762
Problem: On some systems the tabline is not redrawn.
Solution: Call RedrawWindow(). (Charles Peacech)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 16 Dec 2012 12:50:39 +0100 |
parents | 27bfb1674333 |
children | b89e2bdcc6e5 |
files | src/gui_w48.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -2527,8 +2527,10 @@ gui_mch_update_tabline(void) if (TabCtrl_GetCurSel(s_tabhwnd) != curtabidx) TabCtrl_SetCurSel(s_tabhwnd, curtabidx); - /* Re-enable redraw. This should trigger a repaint. */ + /* Re-enable redraw and redraw. */ SendMessage(s_tabhwnd, WM_SETREDRAW, (WPARAM)TRUE, 0); + RedrawWindow(s_tabhwnd, NULL, NULL, + RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN); } /*