comparison src/frame-msw.c @ 5925:08cfc8f77fb6 cygwin

make space for long ptr, and store as such, for frame in WINDOW data, add a bit more debugging to debug-mswindow, Vin Shelton patch to fix M-x shell
author Henry Thompson <ht@markup.co.uk>
date Fri, 27 Feb 2015 17:41:20 +0000
parents 68639fb08af8
children e2fae7783046
comparison
equal deleted inserted replaced
5924:518bf1108435 5925:08cfc8f77fb6
269 STRINGP (name) ? name : 269 STRINGP (name) ? name :
270 Qunbound); 270 Qunbound);
271 271
272 FRAME_MSWINDOWS_HANDLE (f) = hwnd; 272 FRAME_MSWINDOWS_HANDLE (f) = hwnd;
273 273
274 qxeSetWindowLong (hwnd, XWL_FRAMEOBJ, (intptr_t)STORE_LISP_IN_VOID (frame_obj)); 274 qxeSetWindowLongPtr (hwnd, XWL_FRAMEOBJ, (intptr_t)STORE_LISP_IN_VOID (frame_obj));
275 FRAME_MSWINDOWS_DC (f) = GetDC (hwnd); 275 FRAME_MSWINDOWS_DC (f) = GetDC (hwnd);
276 SetTextAlign (FRAME_MSWINDOWS_DC (f), TA_BASELINE | TA_LEFT | TA_NOUPDATECP); 276 SetTextAlign (FRAME_MSWINDOWS_DC (f), TA_BASELINE | TA_LEFT | TA_NOUPDATECP);
277 277
278 #ifdef HAVE_DIALOGS 278 #ifdef HAVE_DIALOGS
279 if (FRAME_MSWINDOWS_POPUP (f)) 279 if (FRAME_MSWINDOWS_POPUP (f))