Phoenix icon indicating copy to clipboard operation
Phoenix copied to clipboard

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

Open mprosperi opened this issue 1 year ago • 0 comments

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))

mprosperi avatar Jan 01 '24 16:01 mprosperi