Use a bigger font size for GroupItem in case of wxMAC

This commit is contained in:
HomeWorld
2010-11-09 19:59:48 +02:00
parent 3f8717e820
commit bac6361d0b

View File

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