Commit 061dc3a4 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

gdi32: Support stock brush in EMR_FRAMERGN.

parent 10dfb4f3
......@@ -2200,11 +2200,8 @@ BOOL WINAPI PlayEnhMetaFileRecord(
{
const EMRFRAMERGN *pFrameRgn = (const EMRFRAMERGN *)mr;
HRGN hRgn = ExtCreateRegion(NULL, pFrameRgn->cbRgnData, (const RGNDATA *)pFrameRgn->RgnData);
FrameRgn(hdc,
hRgn,
(handletable->objectHandle)[pFrameRgn->ihBrush],
pFrameRgn->szlStroke.cx,
pFrameRgn->szlStroke.cy);
FrameRgn(hdc, hRgn, get_object_handle(handletable, pFrameRgn->ihBrush),
pFrameRgn->szlStroke.cx, pFrameRgn->szlStroke.cy);
DeleteObject(hRgn);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment