Commit db3ee756 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: avoid deprecation warning

parent 023258e0
......@@ -102,7 +102,7 @@ def simclick(sim, target, btn=wx.MOUSE_BTN_LEFT, pos=None, stype=0):
x += w * pos[0]
y += h * pos[1]
sim.MouseMove(x, y)
sim.MouseMove(int(x), int(y))
wx.Yield()
if stype == 0: sim.MouseClick(btn)
elif stype == 1: sim.MouseDblClick(btn)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment