Changeset 2433 for trunk/src/user32/new/dc.cpp
- Timestamp:
- Jan 13, 2000, 9:11:39 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/dc.cpp
r2421 r2433 1 /* $Id: dc.cpp,v 1.1 1 2000-01-12 17:37:28 cbratschiExp $ */1 /* $Id: dc.cpp,v 1.12 2000-01-13 20:11:36 sandervl Exp $ */ 2 2 3 3 /* … … 679 679 // isWindowOwnDC = (((hWindow == HWND_DESKTOP) ? FALSE : (wnd->isOwnDC() && wnd->getOwnDC())) 680 680 isWindowOwnDC = (((hWindow == HWND_DESKTOP) ? FALSE : (wnd->isOwnDC())) 681 && !(flags & DCX_CACHE_W ));681 && !(flags & DCX_CACHE_W|DCX_WINDOW_W)); 682 682 683 683 if (isWindowOwnDC) … … 814 814 //SvL: Hack for memory.exe (doesn't get repainted properly otherwise) 815 815 // isOwnDC = wnd->isOwnDC() && wnd->getOwnDC(); 816 isOwnDC = wnd->isOwnDC() ;816 isOwnDC = wnd->isOwnDC() && (wnd->getOwnDC() == hdc); 817 817 } 818 818 if (isOwnDC) … … 839 839 #endif 840 840 841 #if 1842 841 WinUpdateWindow(wnd->getOS2FrameWindowHandle()); 843 #else844 wnd->MsgPaint(0);845 #endif846 842 847 843 return (TRUE); … … 1271 1267 dprintf(("ScrollWindow %x %d %d %x %x", hwnd, dx, dy, pScroll, pClip)); 1272 1268 mapWin32ToOS2Rect(window,window->getClientRectPtr(),(PRECTLOS2)&clientRect); 1269 #if 0 1273 1270 //Rectangle could be relative to parent window, so fix this 1274 1271 if(clientRect.yBottom != 0) { … … 1280 1277 clientRect.xLeft = 0; 1281 1278 } 1279 #endif 1282 1280 if(pScroll) { 1283 1281 mapWin32ToOS2Rect(window,(RECT *)pScroll, (PRECTLOS2)&scrollRect);
Note:
See TracChangeset
for help on using the changeset viewer.