Changeset 20581
- Timestamp:
- Apr 28, 2003, 10:41:08 AM (22 years ago)
- Location:
- tags/trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/user32/pmwindow.cpp ¶
r20575 r20581 1 /* $Id: pmwindow.cpp,v 1.21 1 2003-04-25 11:13:16sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.212 2003-04-28 08:41:07 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 1680 1680 } 1681 1681 #endif 1682 //PF This is the final step of PM restoration - should end up 1683 //in default handler. 1684 if (win32wnd->getOldStyle() & WS_MINIMIZE_W && pswp->fl & SWP_RESTORE) 1685 goto RunDefFrameWndProc; 1682 1686 1683 1687 PosChangedEnd: -
TabularUnified tags/trunk/src/user32/win32wbase.cpp ¶
r20569 r20581 1 /* $Id: win32wbase.cpp,v 1.36 8 2003-04-24 13:59:14sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.369 2003-04-28 08:41:08 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1831 1831 case WM_ICONERASEBKGND: 1832 1832 { 1833 RECT rect; 1834 int rc; 1835 1836 if (!windowClass || !windowClass->getBackgroundBrush()) return 0; 1833 HBRUSH hBrush; 1834 RECT rect; 1835 int rc; 1836 1837 if (!windowClass || (!windowClass->getBackgroundBrush() 1838 && !(getStyle() & WS_MINIMIZE))) return 0; 1839 1840 //PF For PM desktop/MDI icons allocate brush as well to avoid 1841 //garbage in icons 1842 1843 if (!windowClass->getBackgroundBrush()) 1844 hBrush = GetStockObject(GRAY_BRUSH); 1845 else 1846 { 1847 hBrush = windowClass->getBackgroundBrush(); 1848 if (hBrush <= (HBRUSH)(SYSCOLOR_GetLastColor()+1)) 1849 hBrush = GetSysColorBrush(hBrush-1); 1850 } 1851 1837 1852 1838 1853 rc = GetClipBox( (HDC)wParam, &rect ); 1839 1854 if ((rc == SIMPLEREGION) || (rc == COMPLEXREGION)) 1840 {1841 HBRUSH hBrush = windowClass->getBackgroundBrush();1842 1843 if (hBrush <= (HBRUSH)(SYSCOLOR_GetLastColor()+1))1844 hBrush = GetSysColorBrush(hBrush-1);1845 1846 1855 FillRect( (HDC)wParam, &rect, hBrush); 1847 } 1856 1848 1857 return 1; 1849 1858 }
Note:
See TracChangeset
for help on using the changeset viewer.