self.toolbar.AddLabelTool(6," "+_("Inject G-Code"),wx.Image(imagefile('inject.png'),wx.BITMAP_TYPE_PNG).ConvertToBitmap(),shortHelp=_("Inject G-Code"),longHelp=_("Insert code at the beginning of this layer"))
self.toolbar.AddSimpleTool(6,wx.Image(imagefile('inject.png'),wx.BITMAP_TYPE_PNG).ConvertToBitmap(),shortHelpString=_("Inject G-Code"),longHelpString=_("Insert code at the beginning of this layer"))
self.toolbar.AddSimpleTool(7,wx.Image(imagefile('edit.png'),wx.BITMAP_TYPE_PNG).ConvertToBitmap(),shortHelpString=_("Edit layer"),longHelpString=_("Edit the G-Code of this layer"))
vbox.Add(self.toolbar,0,border=5)
vbox.Add(self.toolbar,0,border=5)
...
@@ -84,6 +85,7 @@ class GvizWindow(GvizBaseFrame):
...
@@ -84,6 +85,7 @@ class GvizWindow(GvizBaseFrame):