X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..d38f70b2494626c4c04dbec17b48d1029b7bcd10:/wxPython/demo/GridStdEdRend.py?ds=inline diff --git a/wxPython/demo/GridStdEdRend.py b/wxPython/demo/GridStdEdRend.py index 6b5110a3f2..6a89c3e122 100644 --- a/wxPython/demo/GridStdEdRend.py +++ b/wxPython/demo/GridStdEdRend.py @@ -26,7 +26,7 @@ class MyCustomRenderer(gridlib.PyGridCellRenderer): for ch in text: dc.SetTextForeground(random.choice(colors)) - dc.DrawText(ch, (x, y)) + dc.DrawText(ch, x, y) w, h = dc.GetTextExtent(ch) x = x + w if x > rect.right - 5: