Changeset 1314 for trunk/src/user32/button.cpp
- Timestamp:
- Oct 16, 1999, 12:28:31 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/button.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/button.cpp
r1258 r1314 1 /* $Id: button.cpp,v 1. 9 1999-10-12 18:14:53sandervl Exp $ */1 /* $Id: button.cpp,v 1.10 1999-10-16 10:28:30 sandervl Exp $ */ 2 2 /* File: button.cpp -- Button type widgets 3 3 * … … 163 163 static LRESULT BUTTON_EraseBkgnd(HWND hwnd,WPARAM wParam,LPARAM lParam) 164 164 { 165 return 1; 165 //SvL: Erase background for groupboxes as the paint function only draws 166 // a box 167 DWORD style = GetWindowLongA(hwnd,GWL_STYLE) & 0x0f; 168 // if(style == BS_GROUPBOX) { 169 return DefWindowProcA(hwnd, WM_ERASEBKGND, wParam, lParam); 170 // } 171 // return 1; 166 172 } 167 173 … … 1065 1071 wndClass.cbWndExtra = sizeof(BUTTONINFO); 1066 1072 wndClass.hCursor = LoadCursorA(0,IDC_ARROWA); 1067 wndClass.hbrBackground = (HBRUSH)0; 1073 // wndClass.hbrBackground = (HBRUSH)0; 1074 wndClass.hbrBackground = GetSysColorBrush(COLOR_BTNFACE); 1068 1075 wndClass.lpszClassName = BUTTONCLASSNAME; 1069 1076
Note:
See TracChangeset
for help on using the changeset viewer.
