]> git.saurik.com Git - wxWidgets.git/commitdiff
Use PlatformInfo
authorRobin Dunn <robin@alldunn.com>
Thu, 11 Mar 2004 06:30:10 +0000 (06:30 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 11 Mar 2004 06:30:10 +0000 (06:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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'))
-        if wx.Platform == "__WXGTK__":
+        if "__WXGTK__" in wx.PlatformInfo:
             # try to make up for it a bit...
             bmp.SetMaskColour("black")