- Timestamp:
- Jun 22, 2001, 9:32:48 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbasenonclient.cpp
r5993 r6064 1 /* $Id: win32wbasenonclient.cpp,v 1.3 4 2001-06-13 10:29:46sandervl Exp $ */1 /* $Id: win32wbasenonclient.cpp,v 1.35 2001-06-22 07:32:48 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (non-client methods) … … 891 891 if ((dwStyle & WS_SYSMENU) && !(dwExStyle & WS_EX_TOOLWINDOW)) 892 892 { 893 int size = GetSystemMetrics(SM_CYCAPTION); 893 HICON hSysIcon = IconForWindow(ICON_SMALL); 894 895 if (hSysIcon) { 896 int size = GetSystemMetrics(SM_CYCAPTION); 894 897 895 r2 = r; 896 r2.right = r2.left + size; 897 r2.bottom = r2.top + size; 898 FillRect(hdc, &r2, GetSysColorBrush(COLOR_MENU)); 899 900 DrawSysButton(hdc,&r); 898 r2 = r; 899 r2.right = r2.left + size; 900 r2.bottom = r2.top + size; 901 FillRect(hdc, &r2, GetSysColorBrush(COLOR_MENU)); 902 903 DrawSysButton(hdc,&r); 904 } 901 905 } 902 906 return;
Note:
See TracChangeset
for help on using the changeset viewer.