X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/803a0ba6b6afa6cc62e818e336a2df420aab70f8..3cebfef17b54f9dacc386f090827b8badb2773d2:/wxPython/demo/ImageAlpha.py?ds=sidebyside diff --git a/wxPython/demo/ImageAlpha.py b/wxPython/demo/ImageAlpha.py index 28f44b26aa..7360fe394e 100644 --- a/wxPython/demo/ImageAlpha.py +++ b/wxPython/demo/ImageAlpha.py @@ -25,7 +25,7 @@ class TestPanel(wx.Panel): (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") @@ -54,7 +54,7 @@ overview = """

Images with Alpha

wxMSW and wxMac now support alpha channels of supported image -types, and will properly blend that chennel when drawing a +types, and will properly blend that channel when drawing a bitmap. It is not supported yet on wxGTK, (if you would like to change that please submit a patch!)