#ifndef _WX_REGION_H_
#define _WX_REGION_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "region.h"
#endif
~wxRegionIterator();
wxRegionIterator& operator=(const wxRegionIterator& iterator);
-
+
void Reset() { m_current = 0; }
void Reset(const wxRegion& region);
operator bool () const { return m_current < m_numRects; }
bool HaveRects() const { return m_current < m_numRects; }
-
+
wxRegionIterator& operator++();
wxRegionIterator operator++(int);
long GetHeight() const { return GetH(); }
wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); }
private:
+ void SetRects(long numRects, wxRect *rects);
+
long m_current;
long m_numRects;
wxRegion m_region;