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
This commit is contained in:
parent
9d0be83a37
commit
72a0a2de1e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user