updated for version 7.0c13
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 0e6e857..21b757b 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -740,17 +740,7 @@
GetCursorPos((LPPOINT)&pt);
GetWindowRect(s_textArea, &rect);
if (pt.y < rect.top)
- {
- char_u string[3];
-
- string[0] = CSI;
- string[1] = KS_TABMENU;
- string[2] = KE_FILLER;
- add_to_input_buf(string, 3);
- string[0] = 0;
- string[1] = (char_u)(long)TABLINE_MENU_NEW;
- add_to_input_buf_csi(string, 2);
- }
+ send_tabline_menu_event(0, TABLINE_MENU_NEW);
}
return MyWindowProc(hwnd, uMsg, wParam, lParam);
}