ole32: Set the mapping mode to anisotropic in OleMetafilePictFromIconAndLabel.

This commit is contained in:
Rob Shearman 2006-12-01 15:05:45 +00:00 committed by Alexandre Julliard
parent d7d3309e0a
commit 3b87fe97df
1 changed files with 1 additions and 0 deletions

View File

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