X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..3fe5f176be5ec2a3ea30ea8ecdd2b343fa89f27c:/wxPython/wx/lib/anchors.py diff --git a/wxPython/wx/lib/anchors.py b/wxPython/wx/lib/anchors.py index c2e52c433d..1553f2701a 100644 --- a/wxPython/wx/lib/anchors.py +++ b/wxPython/wx/lib/anchors.py @@ -67,12 +67,12 @@ class LayoutAnchors(wxLayoutConstraints): self.setConstraintSides(self.left, wxLeft, left, self.right, wxRight, right, self.width, wxWidth, self.centreX, - cPos.x, cSize.x, pSize.x, parent) + cPos.x, cSize.width, pSize.width, parent) self.setConstraintSides(self.top, wxTop, top, self.bottom, wxBottom, bottom, self.height, wxHeight, self.centreY, - cPos.y, cSize.y, pSize.y, parent) + cPos.y, cSize.height, pSize.height, parent) def setConstraintSides(self, side1, side1Edge, side1Anchor, side2, side2Edge, side2Anchor,