I can not start an application in the last 2 versions of ubuntu, by a problem with wx.ImageList
This is the code:
self.lst = wx.ListCtrl( wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LC_REPORT )
``
self.il = wx.ImageList(42, 42)
self.lst.SetImageList(self.il, wx.IMAGE_LIST_SMALL)
self.lst.InsertColumn(0, ‘’)
self.lst.SetColumnWidth(0, 320)
``
self.il.Add(wx.Bitmap(’/images/15.png’))
``
The error message is this:
invalid bitmap size in wxImageList: this might work on this platform but definitely won’t under Windows.
Thank you.