extern bool wxClipboardIsOpen;
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxMetaFile, wxObject)
IMPLEMENT_ABSTRACT_CLASS(wxMetaFileDC, wxDC)
-#endif
wxMetaFile::wxMetaFile(const wxString& file)
{
/*
* Pass filename of existing non-placeable metafile, and bounding box.
* Adds a placeable metafile header, sets the mapping mode to anisotropic,
- * and sets the window origin and extent to mimic the MM_TEXT mapping mode.
+ * and sets the window origin and extent to mimic the wxMM_TEXT mapping mode.
*
*/
modeRecord->rdSize = 4;
modeRecord->rdFunction = META_SETMAPMODE;
- modeRecord->rdParm[0] = MM_ANISOTROPIC;
+ modeRecord->rdParm[0] = wxMM_ANISOTROPIC;
originRecord->rdSize = 5;
originRecord->rdFunction = META_SETWINDOWORG;