Mercurial > emacs
comparison src/w32fns.c @ 76078:3479e5ecb040
* w32fns.c (w32_wnd_proc) [WM_INITMENU]: Set menubar_active frame parameter.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 22 Feb 2007 23:03:56 +0000 |
parents | 25965473846d |
children | 5e1d8f9b52ea |
comparison
equal
deleted
inserted
replaced
76077:0cb5c0c1f9cc | 76078:3479e5ecb040 |
---|---|
3470 /* Detect if message has already been deferred; in this case | 3470 /* Detect if message has already been deferred; in this case |
3471 we cannot return any sensible value to ignore this. */ | 3471 we cannot return any sensible value to ignore this. */ |
3472 if (find_deferred_msg (hwnd, msg) != NULL) | 3472 if (find_deferred_msg (hwnd, msg) != NULL) |
3473 abort (); | 3473 abort (); |
3474 | 3474 |
3475 if (f) | |
3476 f->output_data.w32->menubar_active = 1; | |
3477 | |
3475 return send_deferred_msg (&msg_buf, hwnd, msg, wParam, lParam); | 3478 return send_deferred_msg (&msg_buf, hwnd, msg, wParam, lParam); |
3476 } | 3479 } |
3477 | 3480 |
3478 case WM_EXITMENULOOP: | 3481 case WM_EXITMENULOOP: |
3479 f = x_window_to_frame (dpyinfo, hwnd); | 3482 f = x_window_to_frame (dpyinfo, hwnd); |