Module: wine Branch: master Commit: 3b87fe97df3268f6a462c3b247cb1709b5970245 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3b87fe97df3268f6a462c3b247...
Author: Rob Shearman rob@codeweavers.com Date: Fri Dec 1 15:05:45 2006 +0000
ole32: Set the mapping mode to anisotropic in OleMetafilePictFromIconAndLabel.
---
dlls/ole32/ole32_main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/ole32_main.c b/dlls/ole32/ole32_main.c index c15c3e8..328a972 100644 --- a/dlls/ole32/ole32_main.c +++ b/dlls/ole32/ole32_main.c @@ -97,6 +97,7 @@ HGLOBAL WINAPI OleMetafilePictFromIconAn else width = icon_width;
+ SetMapMode(hdc, MM_ANISOTROPIC); SetWindowOrgEx(hdc, 0, 0, NULL); SetWindowExtEx(hdc, width, label_offset + text_size.cy, NULL);