Commit 3b87fe97 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

ole32: Set the mapping mode to anisotropic in OleMetafilePictFromIconAndLabel.

parent d7d3309e
......@@ -97,6 +97,7 @@ HGLOBAL WINAPI OleMetafilePictFromIconAndLabel(HICON hIcon, LPOLESTR lpszLabel,
else
width = icon_width;
SetMapMode(hdc, MM_ANISOTROPIC);
SetWindowOrgEx(hdc, 0, 0, NULL);
SetWindowExtEx(hdc, width, label_offset + text_size.cy, NULL);
......
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