]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected typos in geometry.
authorRobert Roebling <robert@roebling.de>
Sun, 26 Nov 2000 10:25:20 +0000 (10:25 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 26 Nov 2000 10:25:20 +0000 (10:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/geometry.h

index c14279c9711a4de9b464b0a595819cec8032a8a3..62dd5aaadeabc23c24be72a6aac1701234853945 100644 (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 ;
 }