]>
Commit | Line | Data |
---|---|---|
d9317fd4 VZ |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/metafile.h | |
3 | // Purpose: wxMetaFile class declaration | |
4 | // Author: wxWindows team | |
5 | // Modified by: | |
6 | // Created: 13.01.00 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) wxWindows team | |
371a5b4e | 9 | // Licence: wxWindows licence |
d9317fd4 VZ |
10 | /////////////////////////////////////////////////////////////////////////////// |
11 | ||
34138703 JS |
12 | #ifndef _WX_METAFILE_H_BASE_ |
13 | #define _WX_METAFILE_H_BASE_ | |
c801d85f | 14 | |
d9317fd4 VZ |
15 | // provide synonyms for all metafile classes |
16 | #define wxMetaFile wxMetafile | |
17 | #define wxMetaFileDC wxMetafileDC | |
18 | #define wxMetaFileDataObject wxMetafileDataObject | |
19 | ||
20 | #define wxMakeMetaFilePlaceable wxMakeMetafilePlaceable | |
21 | ||
2049ba38 | 22 | #if defined(__WXMSW__) |
d9317fd4 VZ |
23 | #if defined(__WIN32__) && wxUSE_ENH_METAFILE |
24 | #include "wx/msw/enhmeta.h" | |
25 | ||
26 | // map all metafile classes to enh metafile | |
27 | #if !wxUSE_WIN_METAFILES_ALWAYS | |
28 | typedef wxEnhMetaFile wxMetafile; | |
29 | typedef wxEnhMetaFileDC wxMetafileDC; | |
a2327a9f | 30 | #if wxUSE_DRAG_AND_DROP |
d9317fd4 | 31 | typedef wxEnhMetaFileDataObject wxMetafileDataObject; |
a2327a9f | 32 | #endif |
d9317fd4 VZ |
33 | // this flag will be set if wxMetafile class is wxEnhMetaFile |
34 | #define wxMETAFILE_IS_ENH | |
35 | #endif // wxUSE_WIN_METAFILES_ALWAYS | |
36 | #else // Win16 | |
37 | #include "wx/msw/metafile.h" | |
38 | #endif | |
39 | #elif defined(__WXPM__) | |
40 | #include "wx/os2/metafile.h" | |
a02bb143 SC |
41 | #elif defined(__WXMAC__) |
42 | #include "wx/mac/metafile.h" | |
1777b9bb | 43 | #endif |
c801d85f KB |
44 | |
45 | #endif | |
34138703 | 46 | // _WX_METAFILE_H_BASE_ |