mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
Import r67258 of the wxWidgets trunk, which I expect will before
long become wxWidgets 2.9.2, which in turn is expected to be the last 2.9 release before the 3.0 stable release. Since the full wxWidgets distribution is rather large, I have imported only the parts that we use, on a subdirectory basis: art include/wx/*.* include/wx/aui include/wx/cocoa include/wx/generic include/wx/gtk include/wx/meta include/wx/msw include/wx/osx include/wx/persist include/wx/private include/wx/protocol include/wx/unix src/aui src/common src/generic src/gtk src/msw src/osx src/unix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7380 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
62
Externals/wxWidgets3/include/wx/metafile.h
vendored
Normal file
62
Externals/wxWidgets3/include/wx/metafile.h
vendored
Normal file
@ -0,0 +1,62 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/metafile.h
|
||||
// Purpose: wxMetaFile class declaration
|
||||
// Author: wxWidgets team
|
||||
// Modified by:
|
||||
// Created: 13.01.00
|
||||
// RCS-ID: $Id: metafile.h 54125 2008-06-11 19:17:41Z SC $
|
||||
// Copyright: (c) wxWidgets team
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_METAFILE_H_BASE_
|
||||
#define _WX_METAFILE_H_BASE_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_METAFILE
|
||||
|
||||
// provide synonyms for all metafile classes
|
||||
#define wxMetaFile wxMetafile
|
||||
#define wxMetaFileDC wxMetafileDC
|
||||
#define wxMetaFileDataObject wxMetafileDataObject
|
||||
|
||||
#define wxMakeMetaFilePlaceable wxMakeMetafilePlaceable
|
||||
|
||||
#if defined(__WXMSW__)
|
||||
#if wxUSE_ENH_METAFILE
|
||||
#if defined(__WXPALMOS__)
|
||||
#include "wx/palmos/enhmeta.h"
|
||||
#else
|
||||
#include "wx/msw/enhmeta.h"
|
||||
#endif
|
||||
|
||||
#if wxUSE_WIN_METAFILES_ALWAYS
|
||||
// use normal metafiles as well
|
||||
#include "wx/msw/metafile.h"
|
||||
#else // also map all metafile classes to enh metafile
|
||||
typedef wxEnhMetaFile wxMetafile;
|
||||
typedef wxEnhMetaFileDC wxMetafileDC;
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
typedef wxEnhMetaFileDataObject wxMetafileDataObject;
|
||||
#endif
|
||||
|
||||
// this flag will be set if wxMetafile class is wxEnhMetaFile
|
||||
#define wxMETAFILE_IS_ENH
|
||||
#endif // wxUSE_WIN_METAFILES_ALWAYS
|
||||
#else // !wxUSE_ENH_METAFILE
|
||||
#if defined(__WXPALMOS__)
|
||||
#include "wx/palmos/metafile.h"
|
||||
#else
|
||||
#include "wx/msw/metafile.h"
|
||||
#endif
|
||||
#endif
|
||||
#elif defined(__WXPM__)
|
||||
#include "wx/os2/metafile.h"
|
||||
#elif defined(__WXMAC__)
|
||||
#include "wx/osx/metafile.h"
|
||||
#endif
|
||||
|
||||
#endif // wxUSE_METAFILE
|
||||
|
||||
#endif // _WX_METAFILE_H_BASE_
|
Reference in New Issue
Block a user