Move wxUSE_ENH_METAFILE check inside wx/msw/enhmeta.h itself

This is more consistent with the other headers, which are safe to
include even when the corresponding feature is turned off.

Also remove the now redundant wxUSE_ENH_METAFILE checks in the source
code including this header.

See https://github.com/wxWidgets/wxWidgets/pull/951
This commit is contained in:
Vadim Zeitlin
2018-09-26 14:47:45 +02:00
parent 2ed7ed6f39
commit 713a7ab895
5 changed files with 10 additions and 9 deletions

View File

@@ -32,10 +32,8 @@
#endif
#ifdef __WXMSW__
#if wxUSE_ENH_METAFILE
#include "wx/msw/enhmeta.h"
#endif
#endif
#include "wx/private/graphics.h"