From 827e3d455a8be8f7b46b2c92da418b898a39f948 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 29 Sep 2015 00:42:26 +0200 Subject: [PATCH] Build fixes for PCH-less build for D2D graphics context Include the required headers in all cases currently, ideal would be to include them only inside "#ifndef WX_PRECOMP" but it's probably not a big problem to just do it always. See #16625. --- src/msw/graphicsd2d.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/msw/graphicsd2d.cpp b/src/msw/graphicsd2d.cpp index 98c3700166..844b385f5f 100644 --- a/src/msw/graphicsd2d.cpp +++ b/src/msw/graphicsd2d.cpp @@ -46,6 +46,8 @@ #include "wx/graphics.h" #include "wx/dc.h" +#include "wx/dcclient.h" +#include "wx/dcmemory.h" #include "wx/dynlib.h" #include "wx/image.h" #include "wx/module.h" @@ -53,6 +55,7 @@ #include "wx/private/graphics.h" #include "wx/stack.h" #include "wx/sharedptr.h" +#include "wx/window.h" // This must be the last header included to only affect the DEFINE_GUID() // occurrences below but not any GUIDs declared in the standard files included