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:
@@ -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>
|
||||
|
@@ -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__
|
||||
|
Reference in New Issue
Block a user