I have the following code which will basically take an image file and create a bitmap image.  I am having one problem though in that there is a white border around the image.  Does anyone know how to take that off?<br><br>
<br>        imageFile2 = "image.png"<br>        image2 = wx.Image(imageFile2, wx.BITMAP_TYPE_ANY).ConvertToBitmap()<br>        self.button2 = wx.BitmapButton(self, id=-1, bitmap=image2,<br>            pos=(10, 140), size = (
image2.GetWidth()-2, image2.GetHeight()))<br>        self.button2.SetMargins(0,0)<br>        self.button2.Bind(wx.EVT_BUTTON, self.button2Click)<br>