X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ba6a836246ee6768c29d50adfe9fee30221da8e..9adb9063694c27e993f66ffbe2bd64c49ea5c2d8:/src/gtk/win_gtk.c diff --git a/src/gtk/win_gtk.c b/src/gtk/win_gtk.c index 71ee98747c..c505270cdc 100644 --- a/src/gtk/win_gtk.c +++ b/src/gtk/win_gtk.c @@ -13,7 +13,7 @@ #define XCheckIfEvent XCHECKIFEVENT #endif -#include "wx/defs.h" +#include "wx/platform.h" #include "wx/gtk/win_gtk.h" #include "gtk/gtksignal.h" #include "gtk/gtkprivate.h" @@ -306,7 +306,7 @@ gtk_pizza_put (GtkPizza *pizza, gtk_widget_set_parent (widget, GTK_WIDGET (pizza)); - gtk_widget_set_usize (widget, width, height); + gtk_widget_set_size_request (widget, width, height); } void @@ -370,7 +370,7 @@ gtk_pizza_resize (GtkPizza *pizza, child->width = width; child->height = height; - gtk_widget_set_usize (widget, width, height); + gtk_widget_set_size_request (widget, width, height); if (GTK_WIDGET_VISIBLE (widget) && GTK_WIDGET_VISIBLE (pizza)) gtk_widget_queue_resize (widget); @@ -412,7 +412,7 @@ gtk_pizza_set_size (GtkPizza *pizza, child->width = width; child->height = height; - gtk_widget_set_usize (widget, width, height); + gtk_widget_set_size_request (widget, width, height); if (GTK_WIDGET_VISIBLE (widget) && GTK_WIDGET_VISIBLE (pizza)) gtk_widget_queue_resize (widget);