mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-10 13:57:08 +01:00
Use integer division to find the item number.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user