http://bugs.winehq.org/show_bug.cgi?id=7179
Summary: Enhanced metafile: record EMR_EXTSELECTCLIPRGN not handled Product: Wine Version: 0.9.29. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gdi-(printing) AssignedTo: wine-bugs@winehq.org ReportedBy: rafal@algorytm.pl
gdi32 does not handle EMR_EXTSELECTCLIPRGN record.
In file: dlls/gdi32/enhmetafile.c in function: PlayEnhMetaFileRecord we have:
case EMR_EXTSELECTCLIPRGN: { #if 0 const EMREXTSELECTCLIPRGN lpRgn = (const EMREXTSELECTCLIPRGN *)mr; HRGN hRgn = ExtCreateRegion(NULL, lpRgn->cbRgnData, (RGNDATA *)lpRgn-
RgnData);
ExtSelectClipRgn(hdc, hRgn, (INT)(lpRgn->iMode)); /* ExtSelectClipRgn created a copy of the region */ DeleteObject(hRgn); #endif FIXME("ExtSelectClipRgn\n"); break;
when I remove #if 0 and #endif, my C++Builder program with printing, works well. (now, I have blank page when I try print something)
Is there some important reason why there is "#if 0" ? or should I post appropriate patch which removes this lines ?
Thanks !