diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-19 23:01:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-19 23:01:28 +0100 |
commit | a07549008207099e8b7884d11d7c8a106e290cb9 (patch) | |
tree | 7411498acc0cddc0318d61465681979272ba73be /src/gui_w32.c | |
parent | ffc4fb8fee4521a86670ae791411e319b6a2e1fd (diff) | |
download | vim-git-a07549008207099e8b7884d11d7c8a106e290cb9.tar.gz |
patch 8.1.2323: Old MSVC version no longer tested.v8.1.2323
Problem: Old MSVC version no longer tested.
Solution: Drop support for MSCV 2008 and older. (Ken Takata, closes #5248)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index cdde3c2bc..429b4570d 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1285,13 +1285,8 @@ gui_mch_new_colors(void) HBRUSH prevBrush; s_brush = CreateSolidBrush(gui.back_pixel); -#ifdef SetClassLongPtr prevBrush = (HBRUSH)SetClassLongPtr( s_hwnd, GCLP_HBRBACKGROUND, (LONG_PTR)s_brush); -#else - prevBrush = (HBRUSH)SetClassLong( - s_hwnd, GCL_HBRBACKGROUND, (long_u)s_brush); -#endif InvalidateRect(s_hwnd, NULL, TRUE); DeleteObject(prevBrush); } @@ -3422,11 +3417,7 @@ mch_set_mouse_shape(int shape) idc = IDC_ARROW; else idc = mshape_idcs[shape]; -#ifdef SetClassLongPtr - SetClassLongPtr(s_textArea, GCLP_HCURSOR, (__int3264)(LONG_PTR)LoadCursor(NULL, idc)); -#else - SetClassLong(s_textArea, GCL_HCURSOR, (long_u)LoadCursor(NULL, idc)); -#endif + SetClassLongPtr(s_textArea, GCLP_HCURSOR, (LONG_PTR)LoadCursor(NULL, idc)); if (!p_mh) { POINT mp; |