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; } }