From: Stefan Neis Date: Sat, 16 Apr 2005 17:00:06 +0000 (+0000) Subject: Fixed child positioning on window resizing. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9175b26272dc4f9062bf268fa916f5b7a21d1dc6 Fixed child positioning on window resizing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/window.cpp b/src/os2/window.cpp index d5cb4af9fb..7458e0eb70 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -1623,7 +1623,7 @@ void wxWindowOS2::DoMoveWindow( ,vSwpScroll.cy - nAdjustHeight ,SWP_MOVE | SWP_SIZE ); - nYDiff += nAdjustHeight; + nYDiff -= nAdjustHeight; } MoveChildren(nYDiff); ::WinQueryWindowPos(GetHwnd(), &m_vWinSwp);