]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/win_gtk.c
create hatch bitmaps on demand, and dispose of them at termination
[wxWidgets.git] / src / gtk / win_gtk.c
index df671e5bbbe5d60739ebaba92fb00c28c759519a..6eb8b4e1e28aac2cda29d0f5b56dcbfcb9769c4a 100644 (file)
@@ -734,14 +734,11 @@ gtk_pizza_scroll (GtkPizza *pizza, gint dx, gint dy)
 
     if (pizza->bin_window)
         gdk_window_scroll( pizza->bin_window, -dx, -dy );
 
     if (pizza->bin_window)
         gdk_window_scroll( pizza->bin_window, -dx, -dy );
-        
+
     for (tmp_list = pizza->children; tmp_list; tmp_list = tmp_list->next)
     {
         GtkPizzaChild *child = tmp_list->data;
     for (tmp_list = pizza->children; tmp_list; tmp_list = tmp_list->next)
     {
         GtkPizzaChild *child = tmp_list->data;
-        GtkAllocation alloc = child->widget->allocation;
-        alloc.x -= dx;
-        alloc.y -= dy;
-        gtk_widget_size_allocate( child->widget, &alloc );
+        gtk_widget_queue_resize(child->widget);
     }
 }
 
     }
 }