Mercurial > emacs
diff src/menu.c @ 97997:c1f5ac949139
(single_menu_item) [!HAVE_BOXES]: Enable emulation of toggle boxes and
radio buttons on MS-DOS as well.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 05 Sep 2008 14:40:08 +0000 |
parents | 248808aeee3e |
children | 95d08e34e42a |
line wrap: on
line diff
--- a/src/menu.c Fri Sep 05 11:27:29 2008 +0000 +++ b/src/menu.c Fri Sep 05 14:40:08 2008 +0000 @@ -365,7 +365,7 @@ return; } -#ifdef HAVE_X_WINDOWS +#if defined(HAVE_X_WINDOWS) || defined(MSDOS) #ifndef HAVE_BOXES /* Simulate radio buttons and toggle boxes by putting a prefix in front of them. */ @@ -435,7 +435,7 @@ item_string = concat2 (item_string, build_string (" >")); #endif -#endif /* HAVE_X_WINDOWS */ +#endif /* HAVE_X_WINDOWS || MSDOS */ push_menu_item (item_string, enabled, key, XVECTOR (item_properties)->contents[ITEM_PROPERTY_DEF],