X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e30285abc6cb45d7e2cd66ddfe3eb460821f57ae..066f1b7a9580fc6c487efa753d61e3683de61407:/src/common/geometry.cpp diff --git a/src/common/geometry.cpp b/src/common/geometry.cpp index 6c171e73a5..a01c529651 100644 --- a/src/common/geometry.cpp +++ b/src/common/geometry.cpp @@ -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