X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2356118e69003597d7293242b48487d8354dd598..9745cf4d6ca2370d71763b8e5f6e446ca2881571:/wxPython/wx/lib/buttonpanel.py diff --git a/wxPython/wx/lib/buttonpanel.py b/wxPython/wx/lib/buttonpanel.py index a31eb08718..7df01da87d 100644 --- a/wxPython/wx/lib/buttonpanel.py +++ b/wxPython/wx/lib/buttonpanel.py @@ -620,7 +620,7 @@ class BPArt: if isVertical: dc.DrawLine(rect.x, coord, rect.x + rect.width, coord) else: - dc.DrawLine(coord, rect.y, coord, rect.y + rect.width) + dc.DrawLine(coord, rect.y, coord, rect.y + rect.height) rf += rstep gf += gstep