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:
@@ -35,8 +35,11 @@
|
|||||||
|
|
||||||
#include "wx/nonownedwnd.h"
|
#include "wx/nonownedwnd.h"
|
||||||
|
|
||||||
#include "wx/msw/wrapgdip.h"
|
#if wxUSE_GRAPHICS_CONTEXT
|
||||||
#include "wx/graphics.h"
|
#include "wx/msw/wrapgdip.h"
|
||||||
|
#include "wx/graphics.h"
|
||||||
|
#endif // wxUSE_GRAPHICS_CONTEXT
|
||||||
|
|
||||||
#include "wx/scopedptr.h"
|
#include "wx/scopedptr.h"
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
Reference in New Issue
Block a user