Compilation fixes for Cairo-based wxGraphicsContext code under MSW.

Include MSW-specific headers under MSW to fix various compilation problems
under MinGW.

Closes #14194.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-04-08 18:10:11 +00:00
parent 95aced6193
commit 16c0096fef
2 changed files with 7 additions and 0 deletions

View File

@@ -25,6 +25,10 @@
#if wxUSE_CAIRO
#ifdef __WXMSW__
#include "wx/msw/wrapwin.h"
#endif
#ifdef __WXMAC__
#include "wx/osx/private.h"
#include <cairo-quartz.h>

View File

@@ -81,6 +81,9 @@ using namespace std;
#ifdef __WXMSW__
#include <cairo-win32.h>
// We must do this as cairo-win32.h includes windows.h which pollutes the
// global name space with macros.
#include "wx/msw/winundef.h"
#endif
#ifdef __WXMAC__