]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/region.cpp
added missing consts and pass objects by const reference instead of by value (patch...
[wxWidgets.git] / src / gtk1 / region.cpp
index 648fa71e1723a5d2177f02807a7bdacd9bbf1c01..93aef5fc1673bed75020b41c98364f8c3f9a0e42 100644 (file)
@@ -160,7 +160,7 @@ wxObjectRefData *wxRegion::CloneRefData(const wxObjectRefData *data) const
 // wxRegion comparison
 // ----------------------------------------------------------------------------
 
-bool wxRegion::operator==( const wxRegion& region )
+bool wxRegion::operator==( const wxRegion& region ) const
 {
     if (m_refData == region.m_refData) return TRUE;