diff --git a/news/rm-deprecation-ilnes.rst b/news/rm-deprecation-ilnes.rst new file mode 100644 index 00000000..23d3899f --- /dev/null +++ b/news/rm-deprecation-ilnes.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* Fixed deprecation usage of `wxpython` to make package build successfully + +**Security:** + +* diff --git a/src/diffpy/pdfgui/gui/mainframe.py b/src/diffpy/pdfgui/gui/mainframe.py index ab2acbd4..5556c346 100644 --- a/src/diffpy/pdfgui/gui/mainframe.py +++ b/src/diffpy/pdfgui/gui/mainframe.py @@ -682,7 +682,7 @@ def __setupToolBar(self): # The bitmap has a white transparency color (mask) maskcolor = wx.Colour(red=255, green=255, blue=255) bitmap = wx.Bitmap(iconpath("run.png")) - bitmap.SetSize(size) + # bitmap.SetSize(size) mask = wx.Mask(bitmap, maskcolor) bitmap.SetMask(mask) self.toolBar.AddTool( @@ -694,7 +694,7 @@ def __setupToolBar(self): "Start a fit or calculation", ) bitmap = wx.Bitmap(iconpath("stop.png")) - bitmap.SetSize(size) + # bitmap.SetSize(size) mask = wx.Mask(bitmap, maskcolor) bitmap.SetMask(mask) self.toolBar.AddTool( @@ -707,7 +707,7 @@ def __setupToolBar(self): ) self.toolBar.AddSeparator() bitmap = wx.Bitmap(iconpath("datasetitem.png")) - bitmap.SetSize(size) + # bitmap.SetSize(size) self.toolBar.AddTool( self.quickPlotId, "Quick plot",