X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f60d0f944a6ce86bce59901e7ea3811f0992bce7..0e300ddd7d91d46e3d9fcbbefe916b0fda6fcbbc:/src/motif/metafile.cpp?ds=sidebyside diff --git a/src/motif/metafile.cpp b/src/motif/metafile.cpp index 7380a03402..e84337aa05 100644 --- a/src/motif/metafile.cpp +++ b/src/motif/metafile.cpp @@ -21,10 +21,8 @@ extern bool wxClipboardIsOpen; -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxMetaFile, wxObject) IMPLEMENT_ABSTRACT_CLASS(wxMetaFileDC, wxDC) -#endif wxMetaFile::wxMetaFile(const wxString& file) { @@ -128,7 +126,7 @@ struct mfPLACEABLEHEADER { /* * 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. * */ @@ -198,7 +196,7 @@ bool wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y1, int x2, i modeRecord->rdSize = 4; modeRecord->rdFunction = META_SETMAPMODE; - modeRecord->rdParm[0] = MM_ANISOTROPIC; + modeRecord->rdParm[0] = wxMM_ANISOTROPIC; originRecord->rdSize = 5; originRecord->rdFunction = META_SETWINDOWORG;