small getStaticBitmap and getBitmap mod to accept a path

This commit is contained in:
unknown
2010-08-15 14:42:41 +03:00
committed by cncfanatics
parent f79f0d803b
commit 6442c99038
4 changed files with 20 additions and 20 deletions

View File

@@ -24,7 +24,7 @@ class MainToolBar(wx.ToolBar):
def __init__(self, parent):
wx.ToolBar.__init__(self, parent, wx.ID_ANY)
self.AddCheckLabelTool(wx.ID_ANY, "Ship Browser", bitmapLoader.getBitmap("ship_big"))
self.AddLabelTool(wx.ID_ANY, "Character Editor", bitmapLoader.getBitmap("character_big"))
self.AddCheckLabelTool(wx.ID_ANY, "Ship Browser", bitmapLoader.getBitmap("ship_big", "icons"))
self.AddLabelTool(wx.ID_ANY, "Character Editor", bitmapLoader.getBitmap("character_big", "icons"))
self.Realize()