// Created: 13.01.00
// RCS-ID: $Id$
// Copyright: (c) 2000 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
rect.bottom = height;
// CreateEnhMetaFile() wants them in HIMETRIC
-#ifdef __WXWINE__
- LONG r, b;
- PixelToHIMETRIC(&r, &b);
- rect.right = r;
- rect.bottom = b;
-#else
PixelToHIMETRIC(&rect.right, &rect.bottom);
-#endif
pRect = ▭
}
}
else
{
-#ifdef __WXWINE__
- wxFAIL_MSG( _T("unsupported format") );
- return FALSE;
-#else
wxASSERT_MSG( format == wxDF_METAFILE, _T("unsupported format") );
// convert to WMF
mfpict->yExt = sizeMF.y;
PixelToHIMETRIC(&mfpict->xExt, &mfpict->yExt);
-#endif
}
return TRUE;