Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-01-07 18:11:53 +00:00
parent eaa6418668
commit b4da152ea3
35 changed files with 34 additions and 204 deletions

View File

@@ -193,14 +193,7 @@ wxEnhMetaFileDC::wxEnhMetaFileDC(const wxString& filename,
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 = ▭
}
@@ -301,10 +294,6 @@ bool wxEnhMetaFileDataObject::GetDataHere(const wxDataFormat& format, void *buf)
}
else
{
#ifdef __WXWINE__
wxFAIL_MSG( _T("unsupported format") );
return FALSE;
#else
wxASSERT_MSG( format == wxDF_METAFILE, _T("unsupported format") );
// convert to WMF
@@ -346,7 +335,6 @@ bool wxEnhMetaFileDataObject::GetDataHere(const wxDataFormat& format, void *buf)
mfpict->yExt = sizeMF.y;
PixelToHIMETRIC(&mfpict->xExt, &mfpict->yExt);
#endif
}
return TRUE;