X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bb6408c2631988fab9925014c6619358bf867de..54c13c66d2c465ae00fc4e59c29312bb16eccdc4:/src/motif/metafile.cpp diff --git a/src/motif/metafile.cpp b/src/motif/metafile.cpp index e084a9a45f..e8c45e00e3 100644 --- a/src/motif/metafile.cpp +++ b/src/motif/metafile.cpp @@ -16,7 +16,7 @@ #include "wx/object.h" #include "wx/string.h" #include "wx/dc.h" -#include "wx/stubs/metafile.h" +#include "wx/motif/metafile.h" #include "wx/clipbrd.h" extern bool wxClipboardIsOpen; @@ -52,7 +52,7 @@ bool wxMetaFile::SetClipboard(int width, int height) bool wxMetaFile::Play(wxDC *dc) { // TODO - return false; + return FALSE; } /* @@ -128,7 +128,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 +198,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;