Skip to content

Commit

Permalink
Replace deprecated wx function
Browse files Browse the repository at this point in the history
  • Loading branch information
kliment committed Mar 8, 2018
1 parent 68f84b8 commit eb6bd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printrun/gcview.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def __init__(self, parent, ID, title, build_dimensions, objects = None,
self.objects = [GCObject(self.platform), GCObject(None)]

fit_image = wx.Image(imagefile('fit.png'), wx.BITMAP_TYPE_PNG).ConvertToBitmap()
self.toolbar.InsertLabelTool(6, 8, " " + _("Fit to plate"), fit_image,
self.toolbar.InsertTool(6, 8, " " + _("Fit to plate"), fit_image,
shortHelp = _("Fit to plate [F]"),
longHelp = '')
self.toolbar.Realize()
Expand Down

0 comments on commit eb6bd43

Please sign in to comment.