Cleaned up useless coded in shipbrowser.FitItem.OnPaint

This commit is contained in:
HomeWorld
2010-12-09 17:04:05 +02:00
parent 79a524f7bb
commit 32f880148c

View File

@@ -1508,11 +1508,6 @@ class FitItem(wx.Window):
mdc = wx.BufferedPaintDC(self)
r = copy.copy(rect)
r.top = r.left = 0
r.height = r.height / 2
if self.highlighted:
bkBitmap = drawUtils.DrawGradientBar(rect.width, rect.height, gStart, gEnd, gMid)
mdc.DrawBitmap(bkBitmap, 0,0)