remove AdjustForParentClientOrigin call, it does nothing in wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2012-04-16 15:45:52 +00:00
parent c22118113a
commit 86e73b4397

View File

@ -2605,7 +2605,6 @@ void wxWindowGTK::DoSetSize( int x, int y, int width, int height, int sizeFlags
if (y == -1)
y = currentY;
}
AdjustForParentClientOrigin(x, y, sizeFlags);
// calculate the best size if we should auto size the window
if ( ((sizeFlags & wxSIZE_AUTO_WIDTH) && width == -1) ||