def GetSize(self): """ Return size of button @return: wx.Size object containing button size """ # Button size is size of bitmap return self.Bitmap.GetSize()