X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4055ed8281971e3d35bf04177193c27043d42ed1..028285e4af7232447cbb88caec61a3129cde02a7:/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_