// wxRegionBase defines wxRegion API
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxRegionBase : public wxGDIObject
+class WXDLLIMPEXP_CORE wxRegionBase : public wxGDIObject
{
public:
// ctors
// accessors
// ---------
- bool Ok() const { return IsOk(); }
- bool IsOk() const { return m_refData != NULL; }
-
// Is region empty?
virtual bool IsEmpty() const = 0;
bool Empty() const { return IsEmpty(); }
// ports with Combine() in this class
#if defined(__WXPALMOS__) || \
defined(__WXMSW__) || \
- defined(__WXMAC__) || \
+ ( defined(__WXMAC__) && wxOSX_USE_CARBON ) || \
defined(__WXPM__)
#define wxHAS_REGION_COMBINE
-class WXDLLEXPORT wxRegionWithCombine : public wxRegionBase
+class WXDLLIMPEXP_CORE wxRegionWithCombine : public wxRegionBase
{
public:
// these methods are not part of public API as they're not implemented on
#elif defined(__WXDFB__)
#include "wx/dfb/region.h"
#elif defined(__WXMAC__)
- #include "wx/mac/region.h"
+ #include "wx/osx/region.h"
#elif defined(__WXCOCOA__)
#include "wx/cocoa/region.h"
#elif defined(__WXPM__)