Mercurial > hg > xemacs-beta
comparison src/dialog-msw.c @ 1913:7473844a83d3
[xemacs-hg @ 2004-02-17 15:20:41 by james]
Check in_display instead of passing fallible in_redisplay parameters.
author | james |
---|---|
date | Tue, 17 Feb 2004 15:20:57 +0000 |
parents | a8d8f419b459 |
children | 04bc9d2f42c7 |
comparison
equal
deleted
inserted
replaced
1912:2c839fb06642 | 1913:7473844a83d3 |
---|---|
712 { | 712 { |
713 Lisp_Object *gui_item = Dynarr_atp (dialog_items, i); | 713 Lisp_Object *gui_item = Dynarr_atp (dialog_items, i); |
714 Lisp_Gui_Item *pgui_item = XGUI_ITEM (*gui_item); | 714 Lisp_Gui_Item *pgui_item = XGUI_ITEM (*gui_item); |
715 | 715 |
716 item_tem.style = (WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | 716 item_tem.style = (WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON |
717 | (gui_item_active_p (*gui_item, 0) ? 0 : | 717 | (gui_item_active_p (*gui_item) ? 0 : WS_DISABLED)); |
718 WS_DISABLED)); | |
719 item_tem.cx = button_width (pgui_item->name); | 718 item_tem.cx = button_width (pgui_item->name); |
720 /* Item ids are indices into dialog_items plus offset, to avoid having | 719 /* Item ids are indices into dialog_items plus offset, to avoid having |
721 items by reserved ids (IDOK, IDCANCEL) */ | 720 items by reserved ids (IDOK, IDCANCEL) */ |
722 item_tem.id = i + ID_ITEM_BIAS; | 721 item_tem.id = i + ID_ITEM_BIAS; |
723 | 722 |