1
0
forked from aniani/vim

updated for version 7.2b-019

This commit is contained in:
Bram Moolenaar
2008-07-24 18:51:11 +00:00
parent 7693ec6e8a
commit e6a91fd994
7 changed files with 49 additions and 39 deletions

View File

@@ -3154,12 +3154,12 @@ mch_set_mouse_shape(int shape)
idc = MAKEINTRESOURCE(IDC_ARROW);
else
idc = mshape_idcs[shape];
#ifdef _WIN64
SetClassLongPtr(s_textArea, GCLP_HCURSOR, (LONG_PTR)LoadCursor(NULL, idc));
#ifdef SetClassLongPtr
SetClassLongPtr(s_textArea, GCLP_HCURSOR, (__int3264)(LONG_PTR)LoadCursor(NULL, idc));
#else
# ifdef WIN32
SetClassLong(s_textArea, GCL_HCURSOR, (LONG)LoadCursor(NULL, idc));
# else
SetClassLong(s_textArea, GCL_HCURSOR, (long_u)LoadCursor(NULL, idc));
# else /* Win16 */
SetClassWord(s_textArea, GCW_HCURSOR, (WORD)LoadCursor(NULL, idc));
# endif
#endif