Fixed integer division in Python 3

(cherry picked from commit 0d449626d6)
This commit is contained in:
Carolina Feher da Silva
2021-11-16 01:24:31 +00:00
committed by Scott Talbert
parent d453e92a73
commit a6d9f71cc3

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