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
 
 #if wxUSE_CAIRO
 
+#ifdef __WXMSW__
+#include "wx/msw/wrapwin.h"
+#endif
+
 #ifdef __WXMAC__
 #include "wx/osx/private.h"
 #include <cairo-quartz.h>
 
 
 #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__