mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
9 lines
311 B
Python
9 lines
311 B
Python
|
|
# In __init__ for a wx.Frame
|
|
...
|
|
toolBar = self.CreateToolBar()
|
|
bitmaps = [ wx.Bitmap('open_32x32.png'),
|
|
wx.Bitmap('open_32x32.png'),
|
|
wx.Bitmap('open_32x32.png') ]
|
|
toolBar.AddTool(wx.ID_OPEN, wx.BitmapBundle.FromBitmaps(bitmaps))
|