1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMetaFile class declaration
4 // Author: wxWindows team
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows license
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_METAFILE_H_BASE_
13 #define _WX_METAFILE_H_BASE_
15 // provide synonyms for all metafile classes
16 #define wxMetaFile wxMetafile
17 #define wxMetaFileDC wxMetafileDC
18 #define wxMetaFileDataObject wxMetafileDataObject
20 #define wxMakeMetaFilePlaceable wxMakeMetafilePlaceable
22 #if defined(__WXMSW__)
23 #if defined(__WIN32__) && wxUSE_ENH_METAFILE
24 #include "wx/msw/enhmeta.h"
26 // map all metafile classes to enh metafile
27 #if !wxUSE_WIN_METAFILES_ALWAYS
28 typedef wxEnhMetaFile wxMetafile
;
29 typedef wxEnhMetaFileDC wxMetafileDC
;
30 #if wxUSE_DRAG_AND_DROP
31 typedef wxEnhMetaFileDataObject wxMetafileDataObject
;
33 // this flag will be set if wxMetafile class is wxEnhMetaFile
34 #define wxMETAFILE_IS_ENH
35 #endif // wxUSE_WIN_METAFILES_ALWAYS
37 #include "wx/msw/metafile.h"
39 #elif defined(__WXPM__)
40 #include "wx/os2/metafile.h"
41 #elif defined(__WXMAC__)
42 #include "wx/mac/metafile.h"
46 // _WX_METAFILE_H_BASE_