2000-01-13 18:39:48 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/metafile.h
|
|
|
|
// Purpose: wxMetaFile class declaration
|
2004-05-23 10:56:36 -04:00
|
|
|
// Author: wxWidgets team
|
2000-01-13 18:39:48 -05:00
|
|
|
// Modified by:
|
|
|
|
// Created: 13.01.00
|
|
|
|
// RCS-ID: $Id$
|
2004-05-23 10:56:36 -04:00
|
|
|
// Copyright: (c) wxWidgets team
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2000-01-13 18:39:48 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-14 20:23:28 -04:00
|
|
|
#ifndef _WX_METAFILE_H_BASE_
|
|
|
|
#define _WX_METAFILE_H_BASE_
|
1998-05-20 10:01:55 -04:00
|
|
|
|
2005-08-19 09:48:24 -04:00
|
|
|
#include "wx/defs.h"
|
|
|
|
|
|
|
|
#if wxUSE_METAFILE
|
|
|
|
|
2000-01-13 18:39:48 -05:00
|
|
|
// provide synonyms for all metafile classes
|
|
|
|
#define wxMetaFile wxMetafile
|
|
|
|
#define wxMetaFileDC wxMetafileDC
|
|
|
|
#define wxMetaFileDataObject wxMetafileDataObject
|
|
|
|
|
|
|
|
#define wxMakeMetaFilePlaceable wxMakeMetafilePlaceable
|
|
|
|
|
1998-07-10 10:15:17 -04:00
|
|
|
#if defined(__WXMSW__)
|
2004-03-28 08:10:14 -05:00
|
|
|
#if wxUSE_ENH_METAFILE
|
2012-01-14 20:05:28 -05:00
|
|
|
#include "wx/msw/enhmeta.h"
|
2000-01-13 18:39:48 -05:00
|
|
|
|
2006-06-26 10:37:34 -04:00
|
|
|
#if wxUSE_WIN_METAFILES_ALWAYS
|
|
|
|
// use normal metafiles as well
|
|
|
|
#include "wx/msw/metafile.h"
|
|
|
|
#else // also map all metafile classes to enh metafile
|
2000-01-13 18:39:48 -05:00
|
|
|
typedef wxEnhMetaFile wxMetafile;
|
|
|
|
typedef wxEnhMetaFileDC wxMetafileDC;
|
2006-06-26 10:37:34 -04:00
|
|
|
#if wxUSE_DRAG_AND_DROP
|
|
|
|
typedef wxEnhMetaFileDataObject wxMetafileDataObject;
|
|
|
|
#endif
|
|
|
|
|
2000-01-13 18:39:48 -05:00
|
|
|
// this flag will be set if wxMetafile class is wxEnhMetaFile
|
|
|
|
#define wxMETAFILE_IS_ENH
|
|
|
|
#endif // wxUSE_WIN_METAFILES_ALWAYS
|
2004-03-28 08:10:14 -05:00
|
|
|
#else // !wxUSE_ENH_METAFILE
|
2012-01-14 20:05:28 -05:00
|
|
|
#include "wx/msw/metafile.h"
|
2004-10-19 09:40:30 -04:00
|
|
|
#endif
|
2000-01-13 18:39:48 -05:00
|
|
|
#elif defined(__WXPM__)
|
|
|
|
#include "wx/os2/metafile.h"
|
2000-08-09 07:14:15 -04:00
|
|
|
#elif defined(__WXMAC__)
|
2008-06-11 15:17:41 -04:00
|
|
|
#include "wx/osx/metafile.h"
|
1999-07-27 23:38:12 -04:00
|
|
|
#endif
|
1998-05-20 10:01:55 -04:00
|
|
|
|
2005-08-19 09:48:24 -04:00
|
|
|
#endif // wxUSE_METAFILE
|
2006-06-26 10:37:34 -04:00
|
|
|
|
|
|
|
#endif // _WX_METAFILE_H_BASE_
|