title: Transparent images in wxPython {Mask}
body: <p>I'm tired of searching this on the net and i cant get it to work. I need to turn green pixels into transparent ones, no half transparency needed. Wondering how can effectively use a mask, but the wx docs doesn't help much really...</p>
  
  <p>Hope someone can give me a tip, regards.</p>
  
  <p>Related code </p>
  
  <pre><code>png = wx.Image('sun2.png', wx.BITMAP_TYPE_PNG).ConvertToBitmap()
  #print png.HasMask() fail
  png.SetMaskColour((0,255,0))
  #mask=wx.Mask(png,wx.Colour(0,255,0))
  #png.SetMask(mask)
  imge=wx.StaticBitmap(self, -1, png, (10, 5), (png.GetWidth(), png.GetHeight()))
  </code></pre>