From 5625f709a4dc8b1c1b5218ed8ef22ec5b51f4e05 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 13 Mar 2001 12:38:50 +0000 Subject: [PATCH] (make_menubar): Take out code in #if 0. --- lwlib/lwlib-Xm.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c index d380077717a..3489f55c89e 100644 --- a/lwlib/lwlib-Xm.c +++ b/lwlib/lwlib-Xm.c @@ -1490,15 +1490,6 @@ make_menubar (instance) ac = 0; XtSetArg(al[ac], XmNmenuAccelerator, 0); ++ac; - -#if 0 - /* 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); } -- 2.39.5