comparison src/event-msw.c @ 464:5aa1854ad537 r21-2-47

Import from CVS: tag r21-2-47
author cvs
date Mon, 13 Aug 2007 11:45:51 +0200
parents 0784d089fdc9
children 54fa1a5c2d12
comparison
equal deleted inserted replaced
463:a158004111cd 464:5aa1854ad537
2743 { 2743 {
2744 int keys = LOWORD (wParam); /* Modifier key flags */ 2744 int keys = LOWORD (wParam); /* Modifier key flags */
2745 int delta = (short) HIWORD (wParam); /* Wheel rotation amount */ 2745 int delta = (short) HIWORD (wParam); /* Wheel rotation amount */
2746 struct gcpro gcpro1, gcpro2; 2746 struct gcpro gcpro1, gcpro2;
2747 2747
2748 if (mswindows_handle_mousewheel_event (mswindows_find_frame (hwnd), keys, delta)) 2748 if (mswindows_handle_mousewheel_event (mswindows_find_frame (hwnd),
2749 keys, delta,
2750 MAKEPOINTS (lParam)))
2749 { 2751 {
2750 GCPRO2 (emacs_event, fobj); 2752 GCPRO2 (emacs_event, fobj);
2751 mswindows_pump_outstanding_events (); /* Can GC */ 2753 mswindows_pump_outstanding_events (); /* Can GC */
2752 UNGCPRO; 2754 UNGCPRO;
2753 } 2755 }