]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/geometry.cpp
When saving the editable state, use the real state (m_editable)
[wxWidgets.git] / src / common / geometry.cpp
index 6c171e73a544bc7eaf16f6a17c3b564c840e256e..a01c529651028b464243e02b97d14aff972bc464 100644 (file)
@@ -145,6 +145,15 @@ void wxRect2DDouble::ConstrainTo( const wxRect2DDouble &rect )
         SetTop( rect.GetTop() );
 }
 
+wxRect2DDouble& wxRect2DDouble::operator=( const wxRect2DDouble &r )
+{
+    m_x = r.m_x;
+    m_y = r.m_y;
+    m_width = r.m_width;
+    m_height = r.m_height;
+    return *this;
+}
+
 // integer version
 
 // for the following calculations always remember