I don't know where to put quit.png. This result in errors. Is it put on SPE folder or somewhere in python? or Just in same directory as saved file?
I appreciate your help!
Steve
Code
import wx
class MyFrame(wx.Frame):
def __init__(self,parent,id,title):
wx.Frame.__init__(self,parent,id,title,size=(700,600))
toolbar=self.CreateToolBar()
toolbar.AddLabelTool(wx.ID_EXIT,'',wx.Bitmap('..\icons\quit.png'))
app=wx.App()
MyFrame(None, -1, 'Simple Toolbar')
app.MainLoop()