Mercurial > hg > xemacs-beta
comparison src/event-msw.c @ 422:95016f13131a r21-2-19
Import from CVS: tag r21-2-19
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:25:01 +0200 |
parents | 41dbb7a9d5f2 |
children | 11054d720c21 |
comparison
equal
deleted
inserted
replaced
421:fff06e11db74 | 422:95016f13131a |
---|---|
1968 else if (nmhdr->code == TCN_SELCHANGE) | 1968 else if (nmhdr->code == TCN_SELCHANGE) |
1969 { | 1969 { |
1970 TC_ITEM item; | 1970 TC_ITEM item; |
1971 int index = SendMessage (nmhdr->hwndFrom, TCM_GETCURSEL, 0, 0); | 1971 int index = SendMessage (nmhdr->hwndFrom, TCM_GETCURSEL, 0, 0); |
1972 frame = XFRAME (mswindows_find_frame (hwnd)); | 1972 frame = XFRAME (mswindows_find_frame (hwnd)); |
1973 | |
1974 item.mask = TCIF_PARAM; | |
1973 SendMessage (nmhdr->hwndFrom, TCM_GETITEM, (WPARAM)index, | 1975 SendMessage (nmhdr->hwndFrom, TCM_GETITEM, (WPARAM)index, |
1974 (LPARAM)&item); | 1976 (LPARAM)&item); |
1975 | 1977 |
1976 mswindows_handle_gui_wm_command (frame, 0, item.lParam); | 1978 mswindows_handle_gui_wm_command (frame, 0, item.lParam); |
1977 } | 1979 } |