mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Disabled setting of viewport origin from an EMF.
This commit is contained in:
parent
8cc20f8f7e
commit
0711df6217
1 changed files with 6 additions and 0 deletions
|
@ -439,9 +439,15 @@ BOOL WINAPI PlayEnhMetaFileRecord(
|
|||
}
|
||||
case EMR_SETVIEWPORTORGEX:
|
||||
{
|
||||
/*
|
||||
* FIXME: The call to SetViewportOrgEx prevents EMFs from being scrolled
|
||||
* by an application. This is very bad manner!!!
|
||||
*/
|
||||
#if 0
|
||||
PEMRSETVIEWPORTORGEX pSetViewportOrgEx = (PEMRSETVIEWPORTORGEX) mr;
|
||||
SetViewportOrgEx(hdc, pSetViewportOrgEx->ptlOrigin.x,
|
||||
pSetViewportOrgEx->ptlOrigin.y, NULL);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
case EMR_SETVIEWPORTEXTEX:
|
||||
|
|
Loading…
Reference in a new issue