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
gint gtk_pizza_get_rtl_offset (GtkPizza *pizza)
{
- gint width;
gint border;
g_return_val_if_fail ( (pizza != NULL), 0 );
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);