Don't include wx/msw/wrapgdip.h if !wxUSE_GRAPHICS_CONTEXT.

Fix compilation when GDI+ headers are not available by not including the
header that includes <gdiplus.h> in this case.

Closes #13640.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-11-08 11:02:07 +00:00
parent cf0a0f9303
commit 3bcb0be2bb

View File

@@ -35,8 +35,11 @@
#include "wx/nonownedwnd.h"
#include "wx/msw/wrapgdip.h"
#include "wx/graphics.h"
#if wxUSE_GRAPHICS_CONTEXT
#include "wx/msw/wrapgdip.h"
#include "wx/graphics.h"
#endif // wxUSE_GRAPHICS_CONTEXT
#include "wx/scopedptr.h"
// ============================================================================