From 3e418ffc1002c514f0e3e876809c33ae9ad8695b Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 9 Mar 1999 18:28:50 +0000 Subject: [PATCH] corrected a type in the constructor from two points git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/gdicmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 2661bd44cc..eae3619cec 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -82,7 +82,7 @@ wxRect::wxRect(const wxPoint& topLeft, const wxPoint& bottomRight) if (height < 0) { height = -height; - x -= height; + y -= height; } }