Cleanup in shipbrowser.FitItem.OnPaint - removed useless code

This commit is contained in:
HomeWorld
2010-12-09 18:13:02 +02:00
parent 7c4a63a81a
commit 668e0ff0b9

View File

@@ -1508,9 +1508,6 @@ class FitItem(wx.Window):
rect = self.GetRect()
windowColor = wx.SystemSettings_GetColour(wx.SYS_COLOUR_WINDOW)
gStart = colorUtils.GetSuitableColor(windowColor, 0.2)
gMid = colorUtils.GetSuitableColor(windowColor, 0.55)
gEnd = windowColor
textColor = colorUtils.GetSuitableColor(windowColor, 1)
mdc = wx.BufferedPaintDC(self)