summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7ced34d)
radio buttons on MS-DOS as well.
+2008-09-05 Eli Zaretskii <eliz@gnu.org>
+
+ * menu.c (single_menu_item) [!HAVE_BOXES]: Enable emulation of
+ toggle boxes and radio buttons on MS-DOS as well.
+
2008-09-05 Kenichi Handa <handa@m17n.org>
* composite.c (autocmp_chars): Check lookback count.
2008-09-05 Kenichi Handa <handa@m17n.org>
* composite.c (autocmp_chars): Check lookback count.
+#if defined(HAVE_X_WINDOWS) || defined(MSDOS)
#ifndef HAVE_BOXES
/* Simulate radio buttons and toggle boxes by putting a prefix in
front of them. */
#ifndef HAVE_BOXES
/* Simulate radio buttons and toggle boxes by putting a prefix in
front of them. */
item_string = concat2 (item_string, build_string (" >"));
#endif
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],
push_menu_item (item_string, enabled, key,
XVECTOR (item_properties)->contents[ITEM_PROPERTY_DEF],