// Created: 13.01.00
// RCS-ID: $Id$
// Copyright: (c) 2000 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "enhmeta.h"
#endif
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;
return TRUE;
}
+
#endif // wxUSE_DRAG_AND_DROP
#endif // wxUSE_ENH_METAFILE