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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user