Left unused variable around.

Adjust window placement in the correct direction
    in RTL. This corrects in-place editing in wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-10-15 19:18:48 +00:00
parent 55dc8e189d
commit 34445cc76d

View File

@@ -239,7 +239,6 @@ void gtk_pizza_set_yoffset (GtkPizza *pizza, gint yoffset)
gint gtk_pizza_get_rtl_offset (GtkPizza *pizza)
{
gint width;
gint border;
g_return_val_if_fail ( (pizza != NULL), 0 );
@@ -695,7 +694,7 @@ gtk_pizza_allocate_child (GtkPizza *pizza,
border = pizza->container.border_width;
offset -= border*2;
allocation.x = offset - child->x - allocation.width - pizza->m_xoffset;
allocation.x = offset - child->x - allocation.width + pizza->m_xoffset;
}
gtk_widget_size_allocate (child->widget, &allocation);