diff --git a/src/wxcommon/Region.cxx b/src/wxcommon/Region.cxx index a6fbed000b..299aa38bc5 100644 --- a/src/wxcommon/Region.cxx +++ b/src/wxcommon/Region.cxx @@ -34,6 +34,10 @@ typedef struct { # define PATH_GP ((GraphicsPath *)target) #endif +#ifndef WX_USE_CAIRO +typedef cairo_matrix_p int; +#endif + wxRegion::wxRegion(wxDC *_dc, wxRegion *r, Bool _no_prgn) { dc = _dc;