mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Used interger devision in ColourDB due to python 3 change
This commit is contained in:
@@ -110,8 +110,8 @@ class TestWindow(wx.ScrolledWindow):
|
||||
rect = rgn.GetBox()
|
||||
pixStart = vs[1]*self.lineHeight + rect.y
|
||||
pixStop = pixStart + rect.height
|
||||
start = pixStart / self.lineHeight - 1
|
||||
stop = pixStop / self.lineHeight
|
||||
start = pixStart // self.lineHeight - 1
|
||||
stop = pixStop // self.lineHeight
|
||||
else:
|
||||
start = 0
|
||||
stop = numColours
|
||||
|
||||
Reference in New Issue
Block a user