]> git.saurik.com Git - wxWidgets.git/commitdiff
minimal changes needed to allow linking wxCocoa as shared lib
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jan 2004 13:35:08 +0000 (13:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jan 2004 13:35:08 +0000 (13:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/region.cpp

index db1493aa07fc69fd1e30a15b3a21421d276ad70f..882030e07071713d11ed16c30ace33f16dd8fb30 100644 (file)
@@ -113,12 +113,61 @@ wxRegion::wxRegion(const wxPoint& topLeft, const wxPoint& bottomRight)
 {
 }
 
+// ----------------------------------------------------------------------------
+// wxRegionIterator
+// ----------------------------------------------------------------------------
+
 wxRegionIterator::wxRegionIterator()
 {
+    m_current =
+    m_numRects = 0;
+    m_rects = NULL;
+}
+
+wxRegionIterator::wxRegionIterator(const wxRegion& region)
+{
+    m_current =
+    m_numRects = 0;
+
+    m_rects = NULL;
+}
+
+wxRegionIterator::wxRegionIterator(const wxRegionIterator& iterator)
+{
+    m_current = iterator.m_current;
+    m_numRects = iterator.m_numRects;
+
+    // TODO: copy m_rects
+    m_rects = NULL;
+}
+
+wxRegionIterator wxRegionIterator::operator++(int)
+{
+    return wxRegionIterator(*this);
+}
+
+long wxRegionIterator::GetX() const
+{
+    return 0;
+}
+
+long wxRegionIterator::GetY() const
+{
+    return 0;
+}
+
+long wxRegionIterator::GetW() const
+{
+    return 0;
+}
+
+long wxRegionIterator::GetH() const
+{
+    return 0;
 }
 
 wxRegionIterator::~wxRegionIterator()
 {
+    // delete [] m_rects;
 }
 
-// vi:sts=4:sw=4:et