Use PlatformInfo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-03-11 06:30:10 +00:00
parent 4c41721418
commit 20ed8fab85

View 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")