aboutsummaryrefslogtreecommitdiff
path: root/gui/button.c
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2004-10-17 21:31:32 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2004-10-17 21:31:32 +0000
commit4633a881e64d0c3d982814663c1019c22fe97627 (patch)
treeb7c3f4e1e04adb3417e3784e2da56aa2a5e9117e /gui/button.c
parent9957aa0b037be6f6813189f7ec15bac59c47c651 (diff)
fixed minimized window behaviour
svn path=/trunk/externals/ggee/; revision=2115
Diffstat (limited to 'gui/button.c')
-rw-r--r--gui/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/button.c b/gui/button.c
index ce3703a..49bfb6d 100644
--- a/gui/button.c
+++ b/gui/button.c
@@ -111,7 +111,7 @@ static void create_widget(t_button *x, t_glist *glist)
if (text[i] == '_')
text[i] = ' ';
}
-
+ sys_vgui("destroy .x%x.c.s%x\n",glist_getcanvas(glist),x);
sys_vgui("button .x%x.c.s%x -height %d -text \"%s\" -command button_cb%x\n",canvas,x,
x->x_height,text,
x);