queue resize on child when its position changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-03-07 06:17:23 +00:00
parent 5bd277f015
commit a8875f1961

View File

@@ -340,8 +340,12 @@ gtk_pizza_set_size (GtkPizza *pizza,
if (child->widget == widget)
{
child->x = x;
child->y = y;
if (child->x != x || child->y != y)
{
child->x = x;
child->y = y;
gtk_widget_queue_resize(widget);
}
gtk_widget_set_size_request (widget, width, height);