- Timestamp:
- Jun 17, 2000, 1:56:14 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dcrgn.cpp
r3705 r3725 1 /* $Id: dcrgn.cpp,v 1. 2 2000-06-14 13:15:24 sandervl Exp $ */1 /* $Id: dcrgn.cpp,v 1.3 2000-06-17 11:56:14 sandervl Exp $ */ 2 2 3 3 /* … … 121 121 } 122 122 //****************************************************************************** 123 //TODO: Seems to return region in window coordinates instead of client coordinates 123 124 //****************************************************************************** 124 125 int WIN32API GetUpdateRgn(HWND hwnd, HRGN hrgn, BOOL erase) … … 206 207 hWindowRegion = window->GetWindowRegion(); 207 208 208 return O32_CombineRgn(hRgn, hWindowRegion, 0, RGN_COPY_W);209 return CombineRgn(hRgn, hWindowRegion, 0, RGN_COPY_W); 209 210 } 210 211 /***************************************************************************** … … 244 245 dprintf(("USER32:SetWindowRgn (%x,%x,%d)", hwnd, hRgn, bRedraw)); 245 246 if(window->GetWindowRegion()) { 246 O32_DeleteObject(window->GetWindowRegion());247 DeleteObject(window->GetWindowRegion()); 247 248 } 248 249 window->SetWindowRegion(hRgn);
Note:
See TracChangeset
for help on using the changeset viewer.