X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b88201ff5f0f9ed18db555b70eb7123c8a7c9c6..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/cocoa/region.h?ds=inline diff --git a/include/wx/cocoa/region.h b/include/wx/cocoa/region.h index 20e7ce3d28..c9aed9592d 100644 --- a/include/wx/cocoa/region.h +++ b/include/wx/cocoa/region.h @@ -4,7 +4,6 @@ // Author: David Elliott // Modified by: // Created: 2004/04/12 -// RCS-ID: $Id$ // Copyright: (c) 2004 David Elliott // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -14,9 +13,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 +54,7 @@ private: DECLARE_DYNAMIC_CLASS(wxRegion); }; -class WXDLLEXPORT wxRegionIterator : public wxRegionIteratorGeneric +class WXDLLIMPEXP_CORE wxRegionIterator : public wxRegionIteratorGeneric { // DECLARE_DYNAMIC_CLASS(wxRegionIteratorGeneric); public: