X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b88201ff5f0f9ed18db555b70eb7123c8a7c9c6..6968a3b87cee46f5c5af9b46e1ef97f17133cef7:/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: