]> git.saurik.com Git - wxWidgets.git/commitdiff
Readd gtk_widget_set_size_request() to prevent
authorRobert Roebling <robert@roebling.de>
Sun, 15 Oct 2006 20:21:23 +0000 (20:21 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 15 Oct 2006 20:21:23 +0000 (20:21 +0000)
    -1,-1 from being allocated.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/win_gtk.c

index 232fb546531b78ce44e4594cd65fc7d9cef7ba4e..f793c468c5244ef0febfe0b8c2002c1d0f53dff2 100644 (file)
@@ -286,6 +286,7 @@ gtk_pizza_put (GtkPizza   *pizza,
 
     gtk_widget_set_parent (widget, GTK_WIDGET (pizza));
 
+    gtk_widget_set_size_request( widget, width, height );
     if (GTK_WIDGET_REALIZED (pizza))
         gtk_pizza_allocate_child (pizza, child_info);
 }