Mercurial > dwindows
diff gtk/dw.c @ 1423:1bb1865fed9d
Revert experimental GTK2 change and add OS/2 support for auto-redrawing and auto-calculating bitmaps and bitmap buttons.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 03 Dec 2011 03:31:43 +0000 |
parents | 4256a3323d35 |
children | fbaec6e5df63 |
line wrap: on
line diff
--- a/gtk/dw.c Sat Dec 03 02:08:40 2011 +0000 +++ b/gtk/dw.c Sat Dec 03 03:31:43 2011 +0000 @@ -9989,7 +9989,7 @@ gtk_object_set_data(GTK_OBJECT(item), "_dw_table", box); if(index < boxcount) gtk_container_forall(GTK_CONTAINER(box),_rearrange_table, GINT_TO_POINTER(boxtype == DW_VERT ? index : -(index+1))); - gtk_table_attach(GTK_TABLE(box), item, x, x + 1, y, y + 1, hsize ? DW_EXPAND : GTK_FILL, vsize ? DW_EXPAND : GTK_FILL, pad, pad); + gtk_table_attach(GTK_TABLE(box), item, x, x + 1, y, y + 1, hsize ? DW_EXPAND : 0, vsize ? DW_EXPAND : 0, pad, pad); gtk_object_set_data(GTK_OBJECT(box), "_dw_boxcount", GINT_TO_POINTER(boxcount + 1)); gtk_widget_set_usize(item, width, height); if(GTK_IS_RADIO_BUTTON(item))