summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-12-16 12:50:39 +0100
committerBram Moolenaar <Bram@vim.org>2012-12-16 12:50:39 +0100
commit14e28811b3c37beaf310ab755cd7e0a1dc7f3395 (patch)
tree5fca01006c106bf1dc8688101c546afa352049bb
parentba6e85855634a16481e0fe7dd7ba9adf2ede201a (diff)
updated for version 7.3.762v7.3.762
Problem: On some systems the tabline is not redrawn. Solution: Call RedrawWindow(). (Charles Peacech)
-rw-r--r--src/gui_w48.c4
-rw-r--r--src/version.c2
2 files changed, 5 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);
}
/*
diff --git a/src/version.c b/src/version.c
index 5e7b397068..012ae87e3d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -726,6 +726,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 762,
+/**/
761,
/**/
760,