Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions news/rm-deprecation-ilnes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* Fixed deprecation usage of `wxpython` to make package build successfully

**Security:**

* <news item>
6 changes: 3 additions & 3 deletions src/diffpy/pdfgui/gui/mainframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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",
Expand Down
Loading