X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54a6974c51b533d398bfc13f06cf5e26f13866c1..03eefe82a8eea9a1809637f55fb0774c7fae4dff:/src/mac/carbon/region.cpp?ds=sidebyside diff --git a/src/mac/carbon/region.cpp b/src/mac/carbon/region.cpp index b20a78b000..1f26fe1575 100644 --- a/src/mac/carbon/region.cpp +++ b/src/mac/carbon/region.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// File: region.cpp +// File: src/mac/carbon/region.cpp // Purpose: Region class // Author: Stefan Csomor // Created: Fri Oct 24 10:46:34 MET 1997 @@ -11,7 +11,11 @@ #include "wx/wxprec.h" #include "wx/region.h" -#include "wx/gdicmn.h" + +#ifndef WX_PRECOMP + #include "wx/gdicmn.h" +#endif + #include "wx/mac/uma.h" IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject) @@ -34,7 +38,7 @@ public: CopyRgn( data.m_macRgn , m_macRgn ); } - ~wxRegionRefData() + virtual ~wxRegionRefData() { DisposeRgn( m_macRgn ); } RgnHandle m_macRgn; @@ -512,7 +516,7 @@ wxRegionIterator& wxRegionIterator::operator ++ () { if (m_current < m_numRects) ++m_current; - + return *this; } @@ -561,4 +565,3 @@ long wxRegionIterator::GetH() const return 0; } -