summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-11-10 17:43:52 +0000
committerRichard M. Stallman <rms@gnu.org>1995-11-10 17:43:52 +0000
commitfaa7b2f4261425123cecc6bf70620365a6535158 (patch)
tree21bf40188b0812d06e1efde9da6bfdfdcc103491 /lwlib
parentec752bab7696489eeffc3493f30c7dca051b56ae (diff)
downloademacs-faa7b2f4261425123cecc6bf70620365a6535158.tar.gz
(display_menu_item): Don't treat buttons specially.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/xlwmenu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 4083183e31f..09945e25224 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -486,8 +486,11 @@ display_menu_item (mw, val, ws, where, highlighted_p, horizontal_p, just_compute
width = ws->width - 2 * shadow;
}
+#ifdef 0
/* see if it should be a button in the menubar */
button_p = horizontal_p && val->call_data;
+#endif
+ button_p = 0;
/* Only highlight an enabled item that has a callback. */
if (highlighted_p)