Fixed integer division in Python 3

This commit is contained in:
Carolina Feher da Silva
2021-11-16 01:24:31 +00:00
parent 64e5d863f7
commit 0d449626d6

View File

@@ -302,7 +302,7 @@ class GenStaticText(wx.Control):
if style & wx.ALIGN_RIGHT:
x = width - w
if style & wx.ALIGN_CENTER:
x = (width - w)/2
x = (width - w)//2
dc.DrawText(line, x, y)
y += h