]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
#if around deprecated macros
[wxWidgets.git] / 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);
         }