mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
[0.4.7] cherry-pick [COMCTL32] Button: Don't use a class brush. CORE-13445
(cherry picked from commit 34c563fa2a
)
This commit is contained in:
parent
850c1d6b6d
commit
2fda8374a2
|
@ -1840,7 +1840,7 @@ void BUTTON_Register()
|
|||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(PBUTTON_DATA);
|
||||
wndClass.hCursor = LoadCursorW(0, (LPCWSTR)IDC_ARROW);
|
||||
wndClass.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
|
||||
wndClass.hbrBackground = 0;
|
||||
wndClass.lpszClassName = WC_BUTTONW;
|
||||
|
||||
RegisterClassW(&wndClass);
|
||||
|
|
Loading…
Reference in a new issue