X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b88201ff5f0f9ed18db555b70eb7123c8a7c9c6..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/cocoa/region.h diff --git a/include/wx/cocoa/region.h b/include/wx/cocoa/region.h index 20e7ce3d28..de34bbf747 100644 --- a/include/wx/cocoa/region.h +++ b/include/wx/cocoa/region.h @@ -14,9 +14,13 @@ #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 +class WXDLLIMPEXP_CORE wxRegion : public wxRegionGeneric { public: wxRegion(wxCoord x, wxCoord y, wxCoord w, wxCoord h) @@ -51,7 +55,7 @@ private: DECLARE_DYNAMIC_CLASS(wxRegion); }; -class WXDLLEXPORT wxRegionIterator : public wxRegionIteratorGeneric +class WXDLLIMPEXP_CORE wxRegionIterator : public wxRegionIteratorGeneric { // DECLARE_DYNAMIC_CLASS(wxRegionIteratorGeneric); public: