X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2590f154ff935ee7a24ea4d25108e8ed97a56f04..24f588af92d50c77142e299ff66ba45b88915c8c:/src/os2/frame.cpp diff --git a/src/os2/frame.cpp b/src/os2/frame.cpp index e725d21116..056ce7bc74 100644 --- a/src/os2/frame.cpp +++ b/src/os2/frame.cpp @@ -1182,7 +1182,7 @@ MRESULT EXPENTRY wxFrameMainWndProc( } else { - pSWP[i].x = vRectl.xLeft; + pSWP[i].x = vRectl.xLeft + nWidth; pSWP[i].y = vRectl.yBottom + nHeight; pSWP[i].cx = vRectl.xRight - (vRectl.xLeft + nWidth); pSWP[i].cy = vRectl.yTop - vRectl.yBottom - nHeight;