From e95024536688acb4d338e363f2ddcd32211c505c Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sun, 26 Oct 2003 16:11:20 +0000 Subject: [PATCH] Fixed update rectangle passed to WinInvalidateRect in wxWindowOS2::Refresh(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 5fabb7d4da..798a9a281d 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -1430,9 +1430,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); }