1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMetaFile class declaration
4 // Author: wxWidgets team
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
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 wxUSE_ENH_METAFILE
24 #if defined(__PALMOS__)
25 #include "wx/palmos/enhmeta.h"
27 #include "wx/msw/enhmeta.h"
30 // map all metafile classes to enh metafile
31 #if !wxUSE_WIN_METAFILES_ALWAYS
32 typedef wxEnhMetaFile wxMetafile
;
33 typedef wxEnhMetaFileDC wxMetafileDC
;
34 #if wxUSE_DRAG_AND_DROP
35 typedef wxEnhMetaFileDataObject wxMetafileDataObject
;
37 // this flag will be set if wxMetafile class is wxEnhMetaFile
38 #define wxMETAFILE_IS_ENH
39 #endif // wxUSE_WIN_METAFILES_ALWAYS
40 #else // !wxUSE_ENH_METAFILE
41 #if defined(__PALMOS__)
42 #include "wx/palmos/metafile.h"
44 #include "wx/msw/metafile.h"
47 #elif defined(__WXPM__)
48 #include "wx/os2/metafile.h"
49 #elif defined(__WXMAC__)
50 #include "wx/mac/metafile.h"
54 // _WX_METAFILE_H_BASE_