]> git.saurik.com Git - wxWidgets.git/commitdiff
oops, reverted wrong code
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 29 Sep 2001 10:46:25 +0000 (10:46 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 29 Sep 2001 10:46:25 +0000 (10:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/toplevel.cpp
src/gtk1/toplevel.cpp

index 98315756b026df3db74a31dfd70c9237d98b2846..3e432d3f01c69f7dc7b84e9d47a2a3786c013906 100644 (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 );
     }
index 98315756b026df3db74a31dfd70c9237d98b2846..3e432d3f01c69f7dc7b84e9d47a2a3786c013906 100644 (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 );
     }