24 wx.ImageList.__init__(self, img_width, img_height)
34 _BASE = os.path.dirname(__file__)
58 for name
in dir(self):
59 value = getattr(self, name)
60 if isinstance(value, wx.Bitmap):
61 self.
_icons_icons[name] = getattr(self, name)
64 return self.
_icons_icons.get(name,
None)
71 img = wx.Image(path, wx.BITMAP_TYPE_ANY).ConvertToBitmap()
76 return os.path.join(self.
_BASE_BASE, name)
79 return wx.ArtProvider.GetBitmap(source, wx.ART_OTHER, self.
_size_size)
82 icons = wx.IconBundle()
83 icons.AddIcon(self.
_get_img_path_get_img_path(
'robot.ico'), wx.BITMAP_TYPE_ANY)