]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected a type in the constructor from two points
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 9 Mar 1999 18:28:50 +0000 (18:28 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 9 Mar 1999 18:28:50 +0000 (18:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/gdicmn.cpp

index 2661bd44cca97e1069d0c609bd0a37eb2a870985..eae3619cec93a64c641595af7a755ff43988f401 100644 (file)
@@ -82,7 +82,7 @@ wxRect::wxRect(const wxPoint& topLeft, const wxPoint& bottomRight)
   if (height < 0)
   {
     height = -height;
-    x -= height;
+    y -= height;
   }
 }