changeset 9230:786a658d3687

(EmacsFrameSetCharSize): Use lw_refigure_widget() for widget set independence.
author Paul Reilly <pmr@pajato.com>
date Sun, 02 Oct 1994 13:13:17 +0000
parents 097322f7b8ad
children eeb35369e536
files src/widget.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.c	Sun Oct 02 12:37:21 1994 +0000
+++ b/src/widget.c	Sun Oct 02 13:13:17 1994 +0000
@@ -36,6 +36,7 @@
 #include <X11/ObjectP.h>
 #include <X11/Shell.h>
 #include <X11/ShellP.h>
+#include "../lwlib/lwlib.h"
 
 #define max(a, b) ((a) > (b) ? (a) : (b))
 
@@ -901,8 +902,7 @@
       int old_left = f->display.x->widget->core.x;
       int old_top = f->display.x->widget->core.y;
 
-      XawPanedSetRefigureMode (f->display.x->column_widget, False);
-
+      lw_refigure_widget (f->display.x->column_widget, False);
       ac = 0;
       XtSetArg (al[ac], XtNheight, pixel_height); ac++;
       XtSetArg (al[ac], XtNwidth, pixel_width); ac++;
@@ -912,8 +912,7 @@
       XtSetArg (al[ac], XtNheight, column_widget_height + hdelta); ac++;
       XtSetArg (al[ac], XtNwidth, pixel_width); ac++;
       XtSetValues (f->display.x->column_widget, al, ac);
-
-      XawPanedSetRefigureMode (f->display.x->column_widget, True);
+      lw_refigure_widget (f->display.x->column_widget, True);
 
       /* These seem to get clobbered.  I don't know why. - rms.  */
       f->display.x->widget->core.x = old_left;