X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b88201ff5f0f9ed18db555b70eb7123c8a7c9c6..8907a7e2c0fb61ecca0b6434dd69ee42b7ee1db6:/include/wx/cocoa/region.h diff --git a/include/wx/cocoa/region.h b/include/wx/cocoa/region.h index 20e7ce3d28..2789d24e0b 100644 --- a/include/wx/cocoa/region.h +++ b/include/wx/cocoa/region.h @@ -14,7 +14,11 @@ #include "wx/generic/region.h" +#if defined(__LP64__) || defined(NS_BUILD_32_LIKE_64) +typedef struct CGRect NSRect; +#else typedef struct _NSRect NSRect; +#endif class WXDLLEXPORT wxRegion : public wxRegionGeneric {