Changeset 2006 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Dec 7, 1999, 1:26:59 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r1983 r2006 1 /* $Id: win32wbase.cpp,v 1.10 5 1999-12-05 16:37:58 sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.106 1999-12-07 12:26:58 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 465 465 if (cs->dwExStyle & WS_EX_DLGMODALFRAME) dwStyle &= ~WS_THICKFRAME; 466 466 467 //TODO?468 #if 0469 /* Get class or window DC if needed */470 if (classPtr->style & CS_OWNDC) dce = DCE_AllocDCE(hwnd,DCE_WINDOW_DC);471 else if (classPtr->style & CS_CLASSDC) wndPtr->dce = classPtr->dce;472 else wndPtr->dce = NULL;473 #endif474 475 467 if (cs->style & WS_HSCROLL) 476 468 { … … 633 625 SetIcon(windowClass->getIcon()); 634 626 627 /* Get class or window DC if needed */ 628 if(windowClass->getStyle() & CS_OWNDC) { 629 dprintf(("Class with CS_OWNDC style")); 630 ownDC = GetWindowDC(getWindowHandle()); 631 } 632 else 633 if (windowClass->getStyle() & CS_PARENTDC) { 634 dprintf(("ERROR: Class with CS_PARENTDC style -> NOT IMPLEMENTED!")); 635 ownDC = 0; 636 } 637 else 638 if (windowClass->getStyle() & CS_CLASSDC) { 639 dprintf(("ERROR: Class with CS_CLASSDC style -> NOT IMPLEMENTED!")); 640 ownDC = 0; 641 } 635 642 /* Set the window menu */ 636 643 if ((dwStyle & (WS_CAPTION | WS_CHILD)) == WS_CAPTION )
Note:
See TracChangeset
for help on using the changeset viewer.