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:
Václav Slavík 2001-09-29 10:46:25 +00:00
parent 8dc52d208e
commit e4b7b2b052
2 changed files with 4 additions and 10 deletions

View File

@ -304,13 +304,10 @@ static void wxInsertChildInTopLevelWindow( wxTopLevelWindowGTK* parent, wxWindow
else
{
/* 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_WIDGET(child->m_widget),
x,
y,
child->m_x,
child->m_y,
child->m_width,
child->m_height );
}

View File

@ -304,13 +304,10 @@ static void wxInsertChildInTopLevelWindow( wxTopLevelWindowGTK* parent, wxWindow
else
{
/* 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_WIDGET(child->m_widget),
x,
y,
child->m_x,
child->m_y,
child->m_width,
child->m_height );
}