From: Robin Dunn Date: Thu, 11 Mar 2004 06:30:10 +0000 (+0000) Subject: Use PlatformInfo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/20ed8fab8512a64baf228ef0ea311286920bc632 Use PlatformInfo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/ImageAlpha.py b/wxPython/demo/ImageAlpha.py index 28f44b26aa..bdce68fb8e 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")