Mercurial > hg > xemacs-beta
comparison src/event-msw.c @ 444:576fb035e263 r21-2-37
Import from CVS: tag r21-2-37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:36:19 +0200 |
parents | abe6d1db359e |
children | 1ccc32a20af4 |
comparison
equal
deleted
inserted
replaced
443:a8296e22da4e | 444:576fb035e263 |
---|---|
1274 | 1274 |
1275 while (PeekMessage (&msg, NULL, 0, 0, PM_REMOVE)) | 1275 while (PeekMessage (&msg, NULL, 0, 0, PM_REMOVE)) |
1276 { | 1276 { |
1277 char class_name_buf [sizeof (XEMACS_CLASS) + 2] = ""; | 1277 char class_name_buf [sizeof (XEMACS_CLASS) + 2] = ""; |
1278 | 1278 |
1279 /* Don't translate messages destined for a dialog box, this | |
1280 makes keyboard traversal work. I think?? */ | |
1279 if (mswindows_is_dialog_msg (&msg)) | 1281 if (mswindows_is_dialog_msg (&msg)) |
1280 { | 1282 { |
1281 mswindows_unmodalize_signal_maybe (); | 1283 mswindows_unmodalize_signal_maybe (); |
1282 continue; | 1284 continue; |
1283 } | 1285 } |
2790 case EN_CHANGE: | 2792 case EN_CHANGE: |
2791 case CBN_EDITCHANGE: | 2793 case CBN_EDITCHANGE: |
2792 case CBN_SELCHANGE: | 2794 case CBN_SELCHANGE: |
2793 if (!NILP (mswindows_handle_gui_wm_command (frame, cid, id))) | 2795 if (!NILP (mswindows_handle_gui_wm_command (frame, cid, id))) |
2794 return 0; | 2796 return 0; |
2797 case BN_SETFOCUS: | |
2798 | |
2795 } | 2799 } |
2796 /* menubars always must come last since the hashtables do not | 2800 /* menubars always must come last since the hashtables do not |
2797 always exist*/ | 2801 always exist*/ |
2798 #ifdef HAVE_MENUBARS | 2802 #ifdef HAVE_MENUBARS |
2799 if (!NILP (mswindows_handle_wm_command (frame, id))) | 2803 if (!NILP (mswindows_handle_wm_command (frame, id))) |