+2000-03-06 Gerd Moellmann <gerd@gnu.org>
+
+ * lwlib-Xm.c (make_menubar): Set XmNresizeHeight and
+ XmNresizeWidth resources only if LESSTIF_VERSION is defined.
+
2000-03-05 Gerd Moellmann <gerd@gnu.org>
* lwlib-Xm.c (xm_manage_resizing): Rewritten.
ac = 0;
XtSetArg(al[ac], XmNmenuAccelerator, 0); ++ac;
+#ifdef LESSTIF_VERSION
/* As of 2000-01-17, the LessTif menu bar resizes to height 0 when
all its children are removed, causing an annoying flickering
behavior. Prevent that by not allowing resizing. */
XtSetArg(al[ac], XmNresizeHeight, False); ++ac;
XtSetArg(al[ac], XmNresizeWidth, False); ++ac;
+#endif
return XmCreateMenuBar (instance->parent, instance->info->name, al, ac);
}