]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ImageAlpha.py
Added OSX instructions
[wxWidgets.git] / wxPython / demo / ImageAlpha.py
index 28f44b26aaf7342c6672a0f3082db17225a98b5c..bdce68fb8e1b00b38de0f1b2be4eca46fbd7cae3 100644 (file)
@@ -25,7 +25,7 @@ class TestPanel(wx.Panel):
                     (25,25))
 
         bmp = wx.Bitmap(opj('bitmaps/toucan.png'))
                     (25,25))
 
         bmp = wx.Bitmap(opj('bitmaps/toucan.png'))
-        if wx.Platform == "__WXGTK__":
+        if "__WXGTK__" in wx.PlatformInfo:
             # try to make up for it a bit...
             bmp.SetMaskColour("black")
             
             # try to make up for it a bit...
             bmp.SetMaskColour("black")