oops, reverted wrong code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -304,13 +304,10 @@ static void wxInsertChildInTopLevelWindow( wxTopLevelWindowGTK* parent, wxWindow
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* these are inside the client area */
|
/* these are inside the client area */
|
||||||
int x = child->m_x, y = child->m_y;
|
|
||||||
child->AdjustForParentClientOrigin(x, y, 0);
|
|
||||||
|
|
||||||
gtk_pizza_put( GTK_PIZZA(parent->m_wxwindow),
|
gtk_pizza_put( GTK_PIZZA(parent->m_wxwindow),
|
||||||
GTK_WIDGET(child->m_widget),
|
GTK_WIDGET(child->m_widget),
|
||||||
x,
|
child->m_x,
|
||||||
y,
|
child->m_y,
|
||||||
child->m_width,
|
child->m_width,
|
||||||
child->m_height );
|
child->m_height );
|
||||||
}
|
}
|
||||||
|
@@ -304,13 +304,10 @@ static void wxInsertChildInTopLevelWindow( wxTopLevelWindowGTK* parent, wxWindow
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* these are inside the client area */
|
/* these are inside the client area */
|
||||||
int x = child->m_x, y = child->m_y;
|
|
||||||
child->AdjustForParentClientOrigin(x, y, 0);
|
|
||||||
|
|
||||||
gtk_pizza_put( GTK_PIZZA(parent->m_wxwindow),
|
gtk_pizza_put( GTK_PIZZA(parent->m_wxwindow),
|
||||||
GTK_WIDGET(child->m_widget),
|
GTK_WIDGET(child->m_widget),
|
||||||
x,
|
child->m_x,
|
||||||
y,
|
child->m_y,
|
||||||
child->m_width,
|
child->m_width,
|
||||||
child->m_height );
|
child->m_height );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user