Mercurial > hg > xemacs-beta
diff src/frame-msw.c @ 5920:0f2338afbabf cygwin
Minimum necessary to get started:
sufficient to compile OK, run -nw, but not with window
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Mon, 21 Apr 2014 11:42:50 +0100 |
parents | 56144c8593a8 |
children | 68639fb08af8 |
line wrap: on
line diff
--- a/src/frame-msw.c Thu Dec 16 11:20:17 2021 +0000 +++ b/src/frame-msw.c Mon Apr 21 11:42:50 2014 +0100 @@ -488,8 +488,8 @@ FALSE); } - qxeSetClassLong (FRAME_MSWINDOWS_HANDLE (f), GCL_HICON, - (LONG) XIMAGE_INSTANCE_MSWINDOWS_ICON (f->icon)); + qxeSetClassLongPtr (FRAME_MSWINDOWS_HANDLE (f), GCLP_HICON, + (LONG_PTR) XIMAGE_INSTANCE_MSWINDOWS_ICON (f->icon)); } } @@ -499,8 +499,8 @@ if (IMAGE_INSTANCEP (f->pointer) && IMAGE_INSTANCE_TYPE (XIMAGE_INSTANCE (f->pointer)) == IMAGE_POINTER) { - qxeSetClassLong (FRAME_MSWINDOWS_HANDLE (f), GCL_HCURSOR, - (LONG) XIMAGE_INSTANCE_MSWINDOWS_ICON (f->pointer)); + qxeSetClassLongPtr (FRAME_MSWINDOWS_HANDLE (f), GCLP_HCURSOR, + (LONG_PTR) XIMAGE_INSTANCE_MSWINDOWS_ICON (f->pointer)); /* we only have to do this because GC doesn't cause a mouse event and doesn't give time to event processing even if it did. */