diff --git a/wx/lib/agw/ultimatelistctrl.py b/wx/lib/agw/ultimatelistctrl.py index 289d185ad..e12da76ff 100644 --- a/wx/lib/agw/ultimatelistctrl.py +++ b/wx/lib/agw/ultimatelistctrl.py @@ -4573,7 +4573,7 @@ def DrawInReportMode(self, dc, line, rect, rectHL, highlighted, current, enabled xa, ya = self._owner.CalcScrolledPosition((0, rect.y)) wndx += xa if rect.height > ySize and not item._expandWin: - ya += (rect.height - ySize)/2 + ya += (rect.height - ySize)//2 itemRect = wx.Rect(xOld-2*HEADER_OFFSET_X, rect.y, width-xSize-HEADER_OFFSET_X, rect.height) if overflow: