From e4b7b2b0529f35b521ed1e32f14ddc8bcfa83cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 29 Sep 2001 10:46:25 +0000 Subject: [PATCH] oops, reverted wrong code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/toplevel.cpp | 7 ++----- src/gtk1/toplevel.cpp | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 98315756b0..3e432d3f01 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -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 ); } diff --git a/src/gtk1/toplevel.cpp b/src/gtk1/toplevel.cpp index 98315756b0..3e432d3f01 100644 --- a/src/gtk1/toplevel.cpp +++ b/src/gtk1/toplevel.cpp @@ -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 ); }