X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/169935ad4ed842421ef24470a06d1aa298f90fbe..1e8a4bc241f0031d538a3ea474211b9840ca2bd8:/src/common/gdicmn.cpp 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; } }