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
This commit is contained in:
Stefan Neis
2003-10-26 16:11:20 +00:00
parent 6e176faf01
commit e950245366

View File

@@ -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);
}