Float/int argument mismatch in wxPython calls
pchemguy opened this issue · 0 comments
pchemguy commented
Envirnoment:
Windows 10
Python 3.10.6 / Anaconda
Most libraries are installed from conda-forge, some, including wxPython, from PyPi.
Python 3.10 no longer does automatic float to int conversion where necessary. wxPython functions usually expect pixel coordinates as integers and fail if floats are supplied. I have spotted a few places during source startup. See details in the associated pull request.