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:
parent
8dc52d208e
commit
e4b7b2b052
@ -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 );
|
||||
}
|
||||
|
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user