Mercurial > hg > xemacs-beta
comparison src/event-msw.c @ 438:84b14dcb0985 r21-2-27
Import from CVS: tag r21-2-27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:32:25 +0200 |
parents | 9d177e8d4150 |
children | 8de8e3f6228a |
comparison
equal
deleted
inserted
replaced
437:e2a4e8b94b82 | 438:84b14dcb0985 |
---|---|
2262 { | 2262 { |
2263 Lisp_Object image_instance; | 2263 Lisp_Object image_instance; |
2264 VOID_TO_LISP (image_instance, ii); | 2264 VOID_TO_LISP (image_instance, ii); |
2265 if (IMAGE_INSTANCEP (image_instance) | 2265 if (IMAGE_INSTANCEP (image_instance) |
2266 && | 2266 && |
2267 IMAGE_INSTANCE_TYPE_P (image_instance, IMAGE_WIDGET) | 2267 IMAGE_INSTANCE_TYPE_P (image_instance, IMAGE_WIDGET)) |
2268 && | |
2269 !NILP (XIMAGE_INSTANCE_WIDGET_FACE (image_instance))) | |
2270 { | 2268 { |
2271 /* set colors for the buttons */ | 2269 /* set colors for the buttons */ |
2272 HDC hdc = (HDC)wParam; | 2270 HDC hdc = (HDC)wParam; |
2273 if (last_widget_brushed != ii) | 2271 if (last_widget_brushed != ii) |
2274 { | 2272 { |
3002 pdump_wire (&mswindows_u_dispatch_event_queue_tail); | 3000 pdump_wire (&mswindows_u_dispatch_event_queue_tail); |
3003 | 3001 |
3004 mswindows_s_dispatch_event_queue = Qnil; | 3002 mswindows_s_dispatch_event_queue = Qnil; |
3005 staticpro (&mswindows_s_dispatch_event_queue); | 3003 staticpro (&mswindows_s_dispatch_event_queue); |
3006 mswindows_s_dispatch_event_queue_tail = Qnil; | 3004 mswindows_s_dispatch_event_queue_tail = Qnil; |
3007 pdump_wire (&mswindows_u_dispatch_event_queue_tail); | 3005 pdump_wire (&mswindows_s_dispatch_event_queue_tail); |
3008 | 3006 |
3009 mswindows_error_caught_in_modal_loop = Qnil; | 3007 mswindows_error_caught_in_modal_loop = Qnil; |
3010 staticpro (&mswindows_error_caught_in_modal_loop); | 3008 staticpro (&mswindows_error_caught_in_modal_loop); |
3011 | 3009 |
3012 DEFVAR_BOOL ("mswindows-meta-activates-menu", &mswindows_meta_activates_menu /* | 3010 DEFVAR_BOOL ("mswindows-meta-activates-menu", &mswindows_meta_activates_menu /* |