Fix building without precompiled headers on Windows

This commit is contained in:
Maarten Bent
2018-05-21 21:21:23 +02:00
committed by VZ
parent a195bf86a2
commit 802c77b964
5 changed files with 11 additions and 7 deletions

View File

@@ -15,6 +15,9 @@
// Ensure no previous defines interfere with the Direct2D API headers
#undef GetHwnd
// include before wincodec.h to prevent winsock/winsock2 redefinition warnings
#include "wx/msw/wrapwin.h"
#include <d2d1.h>
#include <dwrite.h>
#include <wincodec.h>