Changeset 1849 for trunk/src/user32/dc.cpp
- Timestamp:
- Nov 26, 1999, 6:06:09 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r1710 r1849 1 /* $Id: dc.cpp,v 1.2 2 1999-11-12 11:38:45 sandervlExp $ */1 /* $Id: dc.cpp,v 1.23 1999-11-26 17:06:06 cbratschi Exp $ */ 2 2 3 3 /* … … 876 876 { 877 877 #if 1 878 878 // Don't do this for now (causes lots of desktop repaints in WordPad) 879 879 O32_SetLastError (ERROR_INVALID_PARAMETER); 880 880 return FALSE; … … 1273 1273 } 1274 1274 dprintf(("ScrollWindow %x %d %d\n", hwnd, dx, dy)); 1275 MapWin32ToOS2Rectl(window->get ClientRect(), (PRECTLOS2)&clientRect);1275 MapWin32ToOS2Rectl(window->getOS2WindowHandle(),window->getClientRect(), (PRECTLOS2)&clientRect); 1276 1276 //Rectangle could be relative to parent window, so fix this 1277 1277 if(clientRect.yBottom != 0) { … … 1284 1284 } 1285 1285 if(pScroll) { 1286 MapWin32ToOS2Rectl( (RECT *)pScroll, (PRECTLOS2)&scrollRect);1286 MapWin32ToOS2Rectl(window->getOS2WindowHandle(),(RECT *)pScroll, (PRECTLOS2)&scrollRect); 1287 1287 pScrollRect = &scrollRect; 1288 1288 … … 1297 1297 1298 1298 if(pClip) { 1299 MapWin32ToOS2Rectl( (RECT *)pClip, (PRECTLOS2)&clipRect);1299 MapWin32ToOS2Rectl(window->getOS2WindowHandle(),(RECT *)pClip, (PRECTLOS2)&clipRect); 1300 1300 pClipRect = &clipRect; 1301 1301 … … 1341 1341 if (scrollFlag & SW_SCROLLCHILDREN_W) scrollFlags |= SW_SCROLLCHILDREN; 1342 1342 1343 if(pScroll) MapWin32ToOS2Rectl( (RECT *)pScroll, (PRECTLOS2)&scrollRect);1344 if(pClip) MapWin32ToOS2Rectl( (RECT *)pClip, (PRECTLOS2)&clipRect);1343 if(pScroll) MapWin32ToOS2Rectl(window->getOS2WindowHandle(),(RECT *)pScroll, (PRECTLOS2)&scrollRect); 1344 if(pClip) MapWin32ToOS2Rectl(window->getOS2WindowHandle(),(RECT *)pClip, (PRECTLOS2)&clipRect); 1345 1345 1346 1346 RECTL rectlUpdate;
Note:
See TracChangeset
for help on using the changeset viewer.