Fixed fontSize hack for shipBrowser on mac (until darriele finds a proper solution)

This commit is contained in:
Niklas Bölter
2010-11-13 20:01:29 +01:00
parent 9de7d6dce0
commit 1c451af3c4

View File

@@ -941,8 +941,8 @@ class CategoryItem(wx.Window):
mdc.DrawBitmap(self.shipBmp,5+(rect.height-self.shipBmp.GetHeight())/2,(rect.height-self.shipBmp.GetWidth())/2,0)
fontSize = 8
if 'wxMAC' in wx.PlatformInfo:
fontSize = 10
if 'wxMac' in wx.PlatformInfo:
fontSize = 12
mdc.SetFont(wx.Font(fontSize, wx.SWISS, wx.NORMAL, wx.NORMAL, False))