diff --git a/src/common/graphcmn.cpp b/src/common/graphcmn.cpp index fc0e6ab894..fc79fbe761 100644 --- a/src/common/graphcmn.cpp +++ b/src/common/graphcmn.cpp @@ -32,8 +32,10 @@ #endif #ifdef __WXMSW__ +#if wxUSE_ENH_METAFILE #include "wx/msw/enhmeta.h" #endif +#endif #include "wx/private/graphics.h"