ole32: Set the mapping mode to anisotropic in OleMetafilePictFromIconAndLabel.
This commit is contained in:
parent
d7d3309e0a
commit
3b87fe97df
|
@ -97,6 +97,7 @@ HGLOBAL WINAPI OleMetafilePictFromIconAndLabel(HICON hIcon, LPOLESTR lpszLabel,
|
||||||
else
|
else
|
||||||
width = icon_width;
|
width = icon_width;
|
||||||
|
|
||||||
|
SetMapMode(hdc, MM_ANISOTROPIC);
|
||||||
SetWindowOrgEx(hdc, 0, 0, NULL);
|
SetWindowOrgEx(hdc, 0, 0, NULL);
|
||||||
SetWindowExtEx(hdc, width, label_offset + text_size.cy, NULL);
|
SetWindowExtEx(hdc, width, label_offset + text_size.cy, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue