ole32: The METAFILEPICT created by OleMetafilePictFromIconAndLabel should have its mapping mode be anisotropic, not isotropic.
This commit is contained in:
parent
09376ea1f5
commit
f0e2ea54e0
|
@ -102,7 +102,7 @@ HGLOBAL WINAPI OleMetafilePictFromIconAndLabel(HICON hIcon, LPOLESTR lpszLabel,
|
|||
ExtEscape(hdc, MFCOMMENT, strlen(szIconIndex)+1, szIconIndex, 0, NULL);
|
||||
}
|
||||
|
||||
mfp.mm = MM_ISOTROPIC;
|
||||
mfp.mm = MM_ANISOTROPIC;
|
||||
mfp.xExt = mfp.yExt = 0; /* FIXME ? */
|
||||
mfp.hMF = CloseMetaFile(hdc);
|
||||
if( !mfp.hMF )
|
||||
|
|
Loading…
Reference in New Issue