From 3d0fa7eeefe68760fbcf6c7e9fb231fa37234d5e Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Thu, 16 Sep 2010 17:56:21 +0300 Subject: [PATCH] Small deprecated stuff fix --- gui/statsPane.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/statsPane.py b/gui/statsPane.py index 537b81378..086c5ab8f 100644 --- a/gui/statsPane.py +++ b/gui/statsPane.py @@ -43,7 +43,8 @@ class StatsPane(wx.Panel): self.SetMinSize((310, -1)) # Use 25% smaller fonts if MAC or force font size to 8 for msw/linux - if wx.Platform == "__WXMAC__": + + if "__WXMAC__" in wx.PlatformInfo : self.SetWindowVariant(wx.WINDOW_VARIANT_SMALL) else: standardFont = wx.SystemSettings.GetFont(wx.SYS_DEFAULT_GUI_FONT)