]> git.saurik.com Git - wxWidgets.git/blame - include/wx/metafile.h
added operator[] for STL builds
[wxWidgets.git] / include / wx / metafile.h
CommitLineData
d9317fd4
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/metafile.h
3// Purpose: wxMetaFile class declaration
77ffb593 4// Author: wxWidgets team
d9317fd4
VZ
5// Modified by:
6// Created: 13.01.00
7// RCS-ID: $Id$
77ffb593 8// Copyright: (c) wxWidgets team
65571936 9// Licence: wxWindows licence
d9317fd4
VZ
10///////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_METAFILE_H_BASE_
13#define _WX_METAFILE_H_BASE_
c801d85f 14
f2555abd
MW
15#include "wx/defs.h"
16
17#if wxUSE_METAFILE
18
d9317fd4
VZ
19// provide synonyms for all metafile classes
20#define wxMetaFile wxMetafile
21#define wxMetaFileDC wxMetafileDC
22#define wxMetaFileDataObject wxMetafileDataObject
23
24#define wxMakeMetaFilePlaceable wxMakeMetafilePlaceable
25
2049ba38 26#if defined(__WXMSW__)
3a5bcc4d 27 #if wxUSE_ENH_METAFILE
4055ed82 28 #if defined(__WXPALMOS__)
ffecfa5a
JS
29 #include "wx/palmos/enhmeta.h"
30 #else
d9317fd4 31 #include "wx/msw/enhmeta.h"
ffecfa5a 32 #endif
d9317fd4
VZ
33
34 // map all metafile classes to enh metafile
35 #if !wxUSE_WIN_METAFILES_ALWAYS
36 typedef wxEnhMetaFile wxMetafile;
37 typedef wxEnhMetaFileDC wxMetafileDC;
a2327a9f 38#if wxUSE_DRAG_AND_DROP
d9317fd4 39 typedef wxEnhMetaFileDataObject wxMetafileDataObject;
a2327a9f 40#endif
d9317fd4
VZ
41 // this flag will be set if wxMetafile class is wxEnhMetaFile
42 #define wxMETAFILE_IS_ENH
43 #endif // wxUSE_WIN_METAFILES_ALWAYS
3a5bcc4d 44 #else // !wxUSE_ENH_METAFILE
4055ed82 45 #if defined(__WXPALMOS__)
ffecfa5a
JS
46 #include "wx/palmos/metafile.h"
47 #else
d9317fd4
VZ
48 #include "wx/msw/metafile.h"
49 #endif
ffecfa5a 50 #endif
d9317fd4
VZ
51#elif defined(__WXPM__)
52 #include "wx/os2/metafile.h"
a02bb143
SC
53#elif defined(__WXMAC__)
54 #include "wx/mac/metafile.h"
1777b9bb 55#endif
c801d85f 56
f2555abd 57#endif // wxUSE_METAFILE
c801d85f 58#endif
34138703 59 // _WX_METAFILE_H_BASE_