comdlg32: Avoid using CopyRect().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e8a2a68f59
commit
4e7272f087
|
@ -247,7 +247,7 @@ static void CC_DrawFocusRect(CCPRIV *lpp, HWND hwnd, int x, int y, int rows, int
|
||||||
/* draw it */
|
/* draw it */
|
||||||
hdc = GetDC(hwnd);
|
hdc = GetDC(hwnd);
|
||||||
DrawFocusRect(hdc, &rect);
|
DrawFocusRect(hdc, &rect);
|
||||||
CopyRect(&lpp->focusRect, &rect);
|
lpp->focusRect = rect;
|
||||||
lpp->hwndFocus = hwnd;
|
lpp->hwndFocus = hwnd;
|
||||||
ReleaseDC(hwnd, hdc);
|
ReleaseDC(hwnd, hdc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue