Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CImage(wx.StaticBitmap):
- def __init__(self, parent, aBitmap, *args, **kwargs):
- wx.StaticBitmap.__init__(self, parent, -1, aBitmap, *args, size=(aBitmap.GetWidth(), aBitmap.GetHeight()), **kwargs)
- def Add(self, aBox):
- aBox.Add(self, 0, wx.ALIGN_CENTER)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement