diff --git a/wx/lib/agw/ultimatelistctrl.py b/wx/lib/agw/ultimatelistctrl.py index 410d071e..fd6391ee 100644 --- a/wx/lib/agw/ultimatelistctrl.py +++ b/wx/lib/agw/ultimatelistctrl.py @@ -10147,7 +10147,7 @@ class UltimateListMainWindow(wx.ScrolledWindow): if self.InReportView(): if not self.HasAGWFlag(ULC_HAS_VARIABLE_ROW_HEIGHT): - current = y/self.GetLineHeight() + current = y // self.GetLineHeight() if current < count: newItem, flags = self.HitTestLine(current, x, y) if flags: