Changeset 4444 for trunk/src/user32/win32dlg.cpp
- Timestamp:
- Oct 6, 2000, 5:15:00 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32dlg.cpp
r4434 r4444 1 /* $Id: win32dlg.cpp,v 1.5 2 2000-10-05 18:37:26sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.53 2000-10-06 15:15:00 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 718 718 int rc; 719 719 720 if (!windowClass || !windowClass->getBackgroundBrush()) return 0; 720 // if (!windowClass || !windowClass->getBackgroundBrush()) return 0; 721 if (!windowClass) return 0; 721 722 722 723 rc = GetClipBox( (HDC)wParam, &rect ); 723 724 if ((rc == SIMPLEREGION) || (rc == COMPLEXREGION)) 724 725 { 726 #if 0 725 727 HBRUSH hBrush = windowClass->getBackgroundBrush(); 726 728 … … 728 730 hBrush = GetSysColorBrush(hBrush-1); 729 731 730 FillRect( (HDC)wParam, &rect, hBrush); 732 FillRect( (HDC)wParam, &rect, hbrush); 733 #else 734 //SvL: Ignore class background brush 735 FillRect((HDC)wParam, &rect, GetSysColorBrush(COLOR_BTNFACE)); 736 #endif 731 737 } 732 738
Note:
See TracChangeset
for help on using the changeset viewer.