]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
CW fix
[wxWidgets.git] / src / os2 / window.cpp
index d5cb4af9fbb9639048a0dd9fab9bb84f3740298f..7458e0eb703120c837ad4af39e8e5ef949e1798f 100644 (file)
@@ -1623,7 +1623,7 @@ void wxWindowOS2::DoMoveWindow(
                               ,vSwpScroll.cy - nAdjustHeight
                               ,SWP_MOVE | SWP_SIZE
                              );
-            nYDiff += nAdjustHeight;
+            nYDiff -= nAdjustHeight;
         }
         MoveChildren(nYDiff);
         ::WinQueryWindowPos(GetHwnd(), &m_vWinSwp);