regedit: Remove variable hdc which is not really used from OnPaint.
This commit is contained in:
parent
1419a3fe1a
commit
d9dbfa7d7c
|
@ -94,10 +94,9 @@ static void OnPaint(HWND hWnd)
|
||||||
{
|
{
|
||||||
PAINTSTRUCT ps;
|
PAINTSTRUCT ps;
|
||||||
RECT rt;
|
RECT rt;
|
||||||
HDC hdc;
|
|
||||||
|
|
||||||
GetClientRect(hWnd, &rt);
|
GetClientRect(hWnd, &rt);
|
||||||
hdc = BeginPaint(hWnd, &ps);
|
BeginPaint(hWnd, &ps);
|
||||||
FillRect(ps.hdc, &rt, GetSysColorBrush(COLOR_BTNFACE));
|
FillRect(ps.hdc, &rt, GetSysColorBrush(COLOR_BTNFACE));
|
||||||
EndPaint(hWnd, &ps);
|
EndPaint(hWnd, &ps);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue