regedit: Remove variable hdc which is not really used from OnPaint.

This commit is contained in:
Gerald Pfeifer 2010-05-01 16:36:49 +02:00 committed by Alexandre Julliard
parent 1419a3fe1a
commit d9dbfa7d7c
1 changed files with 1 additions and 2 deletions

View File

@ -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);
} }