Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

other float-int TypeError with python 3.10+ in wx.lib.agw.flatnotebook #2504

Open
mprosperi opened this issue Jan 1, 2024 · 0 comments
Open

Comments

@mprosperi
Copy link
Contributor

Operating system: win10
wxPython version & source: stock wheel
Python version & source: 3.10+

Description of the problem: TypeError exceptions due to changed (missing) float conversions with python 3.10+

line 3730 in wx/lib/agw/flatnotebook.py:
pc._ImageList.Draw(pc._pagesInfoVec[tabIdx].GetImageIndex(), dc,
posx + imageXOffset, imageYCoord,
wx.IMAGELIST_DRAW_TRANSPARENT, True)

line 3858:
pc._pagesInfoVec[i].SetSize(wx.Size(tabWidth, tabHeight))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant