]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/region.cpp
correct a bug in the MSW code using wxMask
[wxWidgets.git] / src / gtk / region.cpp
index 274e53b35da4347ce0b9b4f64de48169c5216914..a01289855ba0c4a3160944287dd7332b8e38a786 100644 (file)
@@ -2,9 +2,8 @@
 // Name:        region.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Created:     01/02/98
-// Id:
-// Copyright:   (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
+// Id:          $Id$
+// Copyright:   (c) 1998 Robert Roebling
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -115,6 +114,16 @@ wxRegion::~wxRegion(void)
 {
 }
 
+bool wxRegion::operator == ( const wxRegion& region )
+{
+  return m_refData == region.m_refData; 
+}
+
+bool wxRegion::operator != ( const wxRegion& region )
+{
+  return m_refData != region.m_refData; 
+}
+
 void wxRegion::Clear(void)
 {
   UnRef();