X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/44bf7fe3d043bfd096ee2218712154b5ab992504..608f8a111b6149267dc58ba87ea8de2edb550685:/src/generic/regiong.cpp?ds=sidebyside diff --git a/src/generic/regiong.cpp b/src/generic/regiong.cpp index 218f5a324c..0867643f0c 100644 --- a/src/generic/regiong.cpp +++ b/src/generic/regiong.cpp @@ -228,7 +228,7 @@ private: // ======================================================================== // wxRegionGeneric // ======================================================================== -//IMPLEMENT_DYNAMIC_CLASS(wxRegionGeneric, wxGDIObject); +//IMPLEMENT_DYNAMIC_CLASS(wxRegionGeneric, wxGDIObject) #define M_REGIONDATA ((wxRegionRefData *)m_refData) #define M_REGIONDATA_OF(rgn) ((wxRegionRefData *)(rgn.m_refData)) @@ -275,7 +275,7 @@ wxObjectRefData *wxRegionGeneric::CloneRefData(const wxObjectRefData *data) cons return new wxRegionRefData(*(wxRegionRefData *)data); } -bool wxRegionGeneric::operator== (const wxRegionGeneric& region) +bool wxRegionGeneric::operator== (const wxRegionGeneric& region) const { wxASSERT(m_refData && region.m_refData); return REGION::XEqualRegion(M_REGIONDATA,M_REGIONDATA_OF(region)); @@ -415,7 +415,7 @@ wxRegionContain wxRegionGeneric::Contains(const wxRect& rect) const // ======================================================================== // wxRegionIteratorGeneric // ======================================================================== -//IMPLEMENT_DYNAMIC_CLASS(wxRegionIteratorGeneric,wxObject); +//IMPLEMENT_DYNAMIC_CLASS(wxRegionIteratorGeneric,wxObject) wxRegionIteratorGeneric::wxRegionIteratorGeneric() {