]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed update rectangle passed to WinInvalidateRect in wxWindowOS2::Refresh().
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 26 Oct 2003 16:11:20 +0000 (16:11 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 26 Oct 2003 16:11:20 +0000 (16:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/window.cpp

index 605a5ade87bda35fbe7449b1078557666dc1501e..842335a91d5d4500929de98a65cf8cfb09eb39f2 100644 (file)
@@ -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);
         }