Fix uses of wxUSE_METAFILE, patch 1262723 Paul Cornett

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-08-19 13:48:24 +00:00
parent 938ad7687f
commit f2555abd7a
7 changed files with 54 additions and 66 deletions

View File

@@ -15,7 +15,6 @@
#ifndef _WX_METAFIILE_H_
#define _WX_METAFIILE_H_
#if wxUSE_METAFILE
#include "wx/dc.h"
#include "wx/gdiobj.h"
@@ -149,8 +148,5 @@ protected:
};
#endif
#endif // wxUSE_METAFILE
#endif
// _WX_METAFIILE_H_

View File

@@ -12,6 +12,10 @@
#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
@@ -50,5 +54,6 @@
#include "wx/mac/metafile.h"
#endif
#endif // wxUSE_METAFILE
#endif
// _WX_METAFILE_H_BASE_

View File

@@ -16,10 +16,6 @@
#pragma interface "metafile.h"
#endif
#include "wx/setup.h"
#if wxUSE_METAFILE
#include "wx/dc.h"
#include "wx/gdiobj.h"
@@ -168,7 +164,6 @@ protected:
#endif // wxUSE_DRAG_AND_DROP
#endif // wxUSE_METAFILE
#endif
// _WX_METAFIILE_H_

View File

@@ -15,9 +15,6 @@
#ifndef _WX_METAFIILE_H_
#define _WX_METAFIILE_H_
#include "wx/setup.h"
#if wxUSE_METAFILE
#include "wx/dc.h"
#include "wx/gdiobj.h"
@@ -195,6 +192,5 @@ private:
};
#endif
#endif // wxUSE_METAFILE
#endif
// _WX_METAFIILE_H_

View File

@@ -16,10 +16,6 @@
#pragma interface "metafile.h"
#endif
#include "wx/setup.h"
#if wxUSE_METAFILE
#include "wx/dc.h"
#include "wx/gdiobj.h"
@@ -168,7 +164,6 @@ protected:
#endif // wxUSE_DRAG_AND_DROP
#endif // wxUSE_METAFILE
#endif
// _WX_METAFIILE_H_