Skip to content

Commit

Permalink
[#367] Fixed DisplayCAL.wxfixes for Python 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
eoyilmaz committed Jun 5, 2024
1 parent 251489a commit 5adc19b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DisplayCAL/wxfixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ def IconFromBitmap(bmp):
wx.IconFromBitmap = wx.Icon
wx.ImageFromStream = wx.Image
wx.ListCtrl.InsertStringItem = lambda self, index, label: self.InsertItem(
index, label
int(index), str(label)
)
wx.ListCtrl.SetStringItem = lambda self, index, col, label: self.SetItem(
index, col, label
int(index), int(col), str(label)
)
wx.Menu.RemoveItem = lambda self, item: self.Remove(item)
wx.NamedColour = wx.Colour
Expand Down

0 comments on commit 5adc19b

Please sign in to comment.