title: Button with an image not showing up in wxPython
body: <p>I am using python v2.7 and wxPython v3.0 on Windows 7 OS. In my application I have a panel named as <code>myPanel</code>. I have a image as a background on <code>myPanel</code> the image names is <code>green.bmp</code>  The <code>myPanel</code> contains a button named as <code>myButton</code>. This <code>myButton</code> also contains an image as a background named as <code>blue.bmp</code></p>
  
  <p><strong>Problem</strong>: I don't see <code>myButton</code> on <code>myPanel</code> when I execute my code. I can't figure it out why is it not working. Any help will be appreciated. <em>If I don't use an image as an background for <code>myPanel</code> then the <code>myButton</code> is visible!</em></p>
  
  <p><strong>Code</strong>: The images can be downloaded from here <a href="https://db.tt/R2fhqSM3" rel="nofollow">Green.bmp</a>  and <a href="https://db.tt/TiiodAmk" rel="nofollow">Blue.bmp</a>. The code snippet is provided below:</p>
  
  <pre><code>import wx
  
  class gui(wx.Frame):
  
      def __init__(self, parent, id, title):
          wx.Frame.__init__(self, None, id, title, size=(500,400))
          myPanel = wx.Panel(self, -1, size=(300,200))
          image_file1 = 'green.bmp'
          image1 = wx.Image(image_file1, wx.BITMAP_TYPE_ANY).ConvertToBitmap()
          #---- Comment out the line below then the button is visible
          self.bitmap2 = wx.StaticBitmap(myPanel, -1, image1, (0, 0))
  
          myButton = wx.Button(myPanel, -1, size =(30,30), pos=(20,20))
          image_file2 = 'blue.bmp'
          image2 = wx.Image(image_file2, wx.BITMAP_TYPE_ANY).ConvertToBitmap()
          self.bitmap1 = wx.StaticBitmap(myButton, -1, image2, (0, 0))
  
  if __name__=='__main__':
      app = wx.App()
      frame = gui(parent=None, id=-1, title="Test")
      frame.Show()
      app.MainLoop()
  </code></pre>
  
  <p>Thank you for your time!</p>