Changeset 2515 for trunk/src/user32/dc.cpp
- Timestamp:
- Jan 25, 2000, 9:39:41 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r2469 r2515 1 /* $Id: dc.cpp,v 1.3 5 2000-01-18 20:10:33sandervl Exp $ */1 /* $Id: dc.cpp,v 1.36 2000-01-25 20:39:41 sandervl Exp $ */ 2 2 3 3 /* … … 828 828 if (hwnd) 829 829 { 830 Win32BaseWindow *wnd = Win32BaseWindow::GetWindowFromHandle (hwnd); 831 //SvL: Hack for memory.exe (doesn't get repainted properly otherwise) 830 Win32BaseWindow *wnd = Win32BaseWindow::GetWindowFromHandle (hwnd); 831 if(wnd == NULL) { 832 dprintf(("ERROR: ReleaseDC %x %x failed", hwnd, hdc)); 833 return 0; 834 } 835 //SvL: Hack for memory.exe (doesn't get repainted properly otherwise) 832 836 // isOwnDC = wnd->isOwnDC() && wnd->getOwnDC(); 833 isOwnDC = wnd->isOwnDC() && (wnd->getOwnDC() == hdc);837 isOwnDC = wnd->isOwnDC() && (wnd->getOwnDC() == hdc); 834 838 } 835 839 if (isOwnDC)
Note:
See TracChangeset
for help on using the changeset viewer.