Small deprecated stuff fix

This commit is contained in:
HomeWorld
2010-09-16 17:56:21 +03:00
parent 5bb8c6e04a
commit 3d0fa7eeef

View File

@@ -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)