]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/metafile.h
wxCalendarCtrl workaround for occasional wrong combobox height reporting on wxMSW
[wxWidgets.git] / include / wx / metafile.h
index 5f2ad07373f66950d279a38053ec7de83f6ae000..2e5d0516c4ece1a5a40c944eeef3488325ac8beb 100644 (file)
 #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_