Corrected typos in geometry.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2000-11-26 10:25:20 +00:00
parent e22454beda
commit da052901fd

View File

@ -182,15 +182,15 @@ inline wxPoint2DDouble& wxPoint2DDouble::operator-=(const wxPoint2DDouble& pt)
inline wxPoint2DDouble& wxPoint2DDouble::operator*=(const wxPoint2DDouble& pt)
{
m_x = m_x + pt.m_x ;
m_y = m_y + pt.m_y;
m_x = m_x * pt.m_x ;
m_y = m_y * pt.m_y;
return *this ;
}
inline wxPoint2DDouble& wxPoint2DDouble::operator/=(const wxPoint2DDouble& pt)
{
m_x = m_x - pt.m_x ;
m_y = m_y - pt.m_y;
m_x = m_x / pt.m_x ;
m_y = m_y / pt.m_y;
return *this ;
}