X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/44bf7fe3d043bfd096ee2218712154b5ab992504..4cbcfb73a037462ccf4d54b3e50c58e37cc61aa9:/src/generic/regiong.cpp diff --git a/src/generic/regiong.cpp b/src/generic/regiong.cpp index 218f5a324c..92cbe6ad95 100644 --- a/src/generic/regiong.cpp +++ b/src/generic/regiong.cpp @@ -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));