From 20ed8fab8512a64baf228ef0ea311286920bc632 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 11 Mar 2004 06:30:10 +0000 Subject: [PATCH] Use PlatformInfo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/ImageAlpha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")