X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..49bffb1482cd2a6a30b38280f6c9bffc72dbfe42:/wxPython/demo/SplitTree.py?ds=sidebyside diff --git a/wxPython/demo/SplitTree.py b/wxPython/demo/SplitTree.py index da4156b47a..9f12a935bc 100644 --- a/wxPython/demo/SplitTree.py +++ b/wxPython/demo/SplitTree.py @@ -73,13 +73,13 @@ class TestValueWindow(gizmos.TreeCompanionWindow): dc.SetPen(pen) dc.SetBrush(wx.Brush(self.GetBackgroundColour(), wx.SOLID)) - dc.DrawRectangle((rect.x, rect.y), (rect.width+1, rect.height+1)) + dc.DrawRectangle(rect.x, rect.y, rect.width+1, rect.height+1) dc.SetTextForeground("BLACK") dc.SetBackgroundMode(wx.TRANSPARENT) tw, th = dc.GetTextExtent(text) x = 5 y = rect.y + max(0, (rect.height - th) / 2) - dc.DrawText(text, (x, y)) + dc.DrawText(text, x, y)