Changeset 6001 for trunk/src/user32
- Timestamp:
 - Jun 13, 2001, 7:28:07 PM (24 years ago)
 - Location:
 - trunk/src/user32
 - Files:
 - 
      
- 2 edited
 
- 
          
  win32dlg.cpp (modified) (3 diffs)
 - 
          
  win32wbase.cpp (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/user32/win32dlg.cpp
r5977 r6001 1 /* $Id: win32dlg.cpp,v 1.6 8 2001-06-12 18:25:11sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.69 2001-06-13 17:28:06 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 729 729 int rc; 730 730 731 // if (!windowClass || !windowClass->getBackgroundBrush()) return 0;732 731 if (!windowClass) return 0; 733 732 … … 735 734 if ((rc == SIMPLEREGION) || (rc == COMPLEXREGION)) 736 735 { 737 #if 0 738 HBRUSH hBrush = windowClass->getBackgroundBrush(); 739 740 if (hBrush <= (HBRUSH)(SYSCOLOR_GetLastColor()+1)) 741 hBrush = GetSysColorBrush(hBrush-1); 742 743 FillRect( (HDC)wParam, &rect, hbrush); 744 #else 745 //SvL: Ignore class background brush 746 FillRect((HDC)wParam, &rect, GetSysColorBrush(COLOR_BTNFACE)); 747 #endif 736 HBRUSH hBrush = SendInternalMessageA(WM_CTLCOLORDLG, wParam, getWindowHandle()); 737 if(GetObjectType(hBrush) != OBJ_BRUSH) { 738 DefWndControlColor(CTLCOLOR_DLG, (HDC)wParam); 739 } 740 FillRect( (HDC)wParam, &rect, hBrush); 748 741 } 749 742  - 
      
trunk/src/user32/win32wbase.cpp
r5994 r6001 1 /* $Id: win32wbase.cpp,v 1.26 7 2001-06-13 12:19:09sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.268 2001-06-13 17:28:07 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1343 1343 return GetSysColorBrush(COLOR_BTNFACE); 1344 1344 } 1345 1346 1345 if( ctlType == CTLCOLOR_SCROLLBAR) 1347 1346 { … … 1618 1617 RECT rect; 1619 1618 int rc; 1620 1621 if(getWindowHandle() == 0x68000044) {1622 rc = GetClipBox( (HDC)wParam, &rect );1623 FillRect( (HDC)wParam, &rect, GetSysColorBrush(COLOR_WINDOWTEXT));1624 return 1;1625 }1626 1619 1627 1620 if (!windowClass || !windowClass->getBackgroundBrush()) return 0;  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  