From 32f880148c937d471693c450faef30230166d909 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Thu, 9 Dec 2010 17:04:05 +0200 Subject: [PATCH] Cleaned up useless coded in shipbrowser.FitItem.OnPaint --- gui/shipBrowser.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 430e8cde7..7fa285c1f 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -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)