X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4055ed8281971e3d35bf04177193c27043d42ed1..dc6588e771dc7180a69841a1b5ec29b4e5ea73d0:/include/wx/metafile.h diff --git a/include/wx/metafile.h b/include/wx/metafile.h index 5f2ad07373..2e5d0516c4 100644 --- a/include/wx/metafile.h +++ b/include/wx/metafile.h @@ -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_