comparison src/toolbar-msw.c @ 5921:68639fb08af8 cygwin

no obvious 64 vs. 32 pblms in compilation, but still crashing in event-msw
author Henry Thompson <ht@markup.co.uk>
date Wed, 23 Apr 2014 22:22:37 +0100
parents 56144c8593a8
children e2fae7783046
comparison
equal deleted inserted replaced
5920:0f2338afbabf 5921:68639fb08af8
95 qxeSendMessage (toolbarwnd, TB_DELETEBUTTON, (WPARAM) i, 0); 95 qxeSendMessage (toolbarwnd, TB_DELETEBUTTON, (WPARAM) i, 0);
96 } 96 }
97 97
98 /* finally get rid of the image list assuming it clears up its 98 /* finally get rid of the image list assuming it clears up its
99 bitmaps */ 99 bitmaps */
100 qxeSendMessage (toolbarwnd, TB_GETIMAGELIST, 0, (LONG) &ilist); 100 qxeSendMessage (toolbarwnd, TB_GETIMAGELIST, 0, (intptr_t) &ilist);
101 if (ilist) 101 if (ilist)
102 { 102 {
103 ImageList_Destroy (ilist); 103 ImageList_Destroy (ilist);
104 } 104 }
105 qxeSendMessage (toolbarwnd, TB_SETIMAGELIST, 0, (LPARAM)NULL); 105 qxeSendMessage (toolbarwnd, TB_SETIMAGELIST, 0, (LPARAM)NULL);
365 | CCS_NORESIZE 365 | CCS_NORESIZE
366 | CCS_NOPARENTALIGN | CCS_NODIVIDER 366 | CCS_NOPARENTALIGN | CCS_NODIVIDER
367 | CCS_ADJUSTABLE, 367 | CCS_ADJUSTABLE,
368 x, y, bar_width, bar_height, 368 x, y, bar_width, bar_height,
369 FRAME_MSWINDOWS_HANDLE (f), 369 FRAME_MSWINDOWS_HANDLE (f),
370 (HMENU)(TOOLBAR_ID_BIAS + pos), 370 /* odd param: pointer _or_ integer id . . . */
371 (HMENU)(intptr_t)(TOOLBAR_ID_BIAS + pos),
371 NULL, 372 NULL,
372 NULL))==NULL) 373 NULL))==NULL)
373 { 374 {
374 xfree (button_tbl); 375 xfree (button_tbl);
375 ImageList_Destroy (ilist); 376 ImageList_Destroy (ilist);