diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-12-16 12:50:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-12-16 12:50:39 +0100 |
commit | 14e28811b3c37beaf310ab755cd7e0a1dc7f3395 (patch) | |
tree | 5fca01006c106bf1dc8688101c546afa352049bb /src/gui_w48.c | |
parent | ba6e85855634a16481e0fe7dd7ba9adf2ede201a (diff) |
updated for version 7.3.762v7.3.762
Problem: On some systems the tabline is not redrawn.
Solution: Call RedrawWindow(). (Charles Peacech)
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r-- | src/gui_w48.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c index a70fb259ea..1d380fbf93 100644 --- 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); } /* |