X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72bfca58d997c6f54e92aabc108c1cc18674bbee..b45d3a5dd348bc936293ee01b4212811a505ea37:/src/os2/window.cpp diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 605a5ade87..842335a91d 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -1235,9 +1235,9 @@ void wxWindowOS2::Refresh( RECTL vOs2Rect; vOs2Rect.xLeft = pRect->x; - vOs2Rect.yTop = pRect->y; + vOs2Rect.yBottom = pRect->y; vOs2Rect.xRight = pRect->x + pRect->width; - vOs2Rect.yBottom = pRect->y + pRect->height; + vOs2Rect.yTop = pRect->y + pRect->height; ::WinInvalidateRect(hWnd, &vOs2Rect, bEraseBack); }