From: Stefan Neis Date: Sun, 26 Oct 2003 16:11:20 +0000 (+0000) Subject: Fixed update rectangle passed to WinInvalidateRect in wxWindowOS2::Refresh(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/72a0a2de1eaac771fa02c606c541ef87f625d11e Fixed update rectangle passed to WinInvalidateRect in wxWindowOS2::Refresh(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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); }