Fixes for PCH-less build for Direct2D graphics context.

Include the required headers inside "#ifndef WX_PRECOMP" block.

See #17502.
This commit is contained in:
Artur Wieczorek
2016-04-20 22:03:37 +02:00
parent 4b0732269d
commit deb162fc5a

View File

@@ -57,18 +57,22 @@
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/dc.h"
#include "wx/dcclient.h"
#include "wx/dcmemory.h"
#include "wx/image.h"
#include "wx/module.h"
#include "wx/window.h"
#include "wx/msw/private.h"
#endif // WX_PRECOMP
#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"
#include "wx/msw/private/comptr.h"
#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