Karsten Hopp ef7793
To: vim_dev@googlegroups.com
Karsten Hopp ef7793
Subject: Patch 7.3.762
Karsten Hopp ef7793
Fcc: outbox
Karsten Hopp ef7793
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ef7793
Mime-Version: 1.0
Karsten Hopp ef7793
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ef7793
Content-Transfer-Encoding: 8bit
Karsten Hopp ef7793
------------
Karsten Hopp ef7793
Karsten Hopp ef7793
Patch 7.3.762 (after 7.3.759)
Karsten Hopp ef7793
Problem:    On some systems the tabline is not redrawn.
Karsten Hopp ef7793
Solution:   Call RedrawWindow(). (Charles Peacech)
Karsten Hopp ef7793
Files:	    src/gui_w48.c
Karsten Hopp ef7793
Karsten Hopp ef7793
Karsten Hopp ef7793
*** ../vim-7.3.761/src/gui_w48.c	2012-12-12 17:12:21.000000000 +0100
Karsten Hopp ef7793
--- src/gui_w48.c	2012-12-16 12:45:47.000000000 +0100
Karsten Hopp ef7793
***************
Karsten Hopp ef7793
*** 2527,2534 ****
Karsten Hopp ef7793
      if (TabCtrl_GetCurSel(s_tabhwnd) != curtabidx)
Karsten Hopp ef7793
  	TabCtrl_SetCurSel(s_tabhwnd, curtabidx);
Karsten Hopp ef7793
  
Karsten Hopp ef7793
!     /* Re-enable redraw. This should trigger a repaint. */
Karsten Hopp ef7793
      SendMessage(s_tabhwnd, WM_SETREDRAW, (WPARAM)TRUE, 0);
Karsten Hopp ef7793
  }
Karsten Hopp ef7793
  
Karsten Hopp ef7793
  /*
Karsten Hopp ef7793
--- 2527,2536 ----
Karsten Hopp ef7793
      if (TabCtrl_GetCurSel(s_tabhwnd) != curtabidx)
Karsten Hopp ef7793
  	TabCtrl_SetCurSel(s_tabhwnd, curtabidx);
Karsten Hopp ef7793
  
Karsten Hopp ef7793
!     /* Re-enable redraw and redraw. */
Karsten Hopp ef7793
      SendMessage(s_tabhwnd, WM_SETREDRAW, (WPARAM)TRUE, 0);
Karsten Hopp ef7793
+     RedrawWindow(s_tabhwnd, NULL, NULL,
Karsten Hopp ef7793
+ 		    RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
Karsten Hopp ef7793
  }
Karsten Hopp ef7793
  
Karsten Hopp ef7793
  /*
Karsten Hopp ef7793
*** ../vim-7.3.761/src/version.c	2012-12-12 18:20:28.000000000 +0100
Karsten Hopp ef7793
--- src/version.c	2012-12-16 12:46:44.000000000 +0100
Karsten Hopp ef7793
***************
Karsten Hopp ef7793
*** 727,728 ****
Karsten Hopp ef7793
--- 727,730 ----
Karsten Hopp ef7793
  {   /* Add new patch number below this line */
Karsten Hopp ef7793
+ /**/
Karsten Hopp ef7793
+     762,
Karsten Hopp ef7793
  /**/
Karsten Hopp ef7793
Karsten Hopp ef7793
-- 
Karsten Hopp ef7793
"The question of whether computers can think is just like the question
Karsten Hopp ef7793
of whether submarines can swim."      -- Edsger W. Dijkstra
Karsten Hopp ef7793
Karsten Hopp ef7793
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ef7793
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ef7793
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ef7793
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///