From 0f8aa0cfb42ac6c25016269cb27e42815b24b25b Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Fri, 19 Nov 2010 11:06:46 +0100 Subject: [PATCH] Remove stuff that makes wxGTK die (why the fuck ?) --- gui/fittingView.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gui/fittingView.py b/gui/fittingView.py index 947e180d3..30d42f146 100644 --- a/gui/fittingView.py +++ b/gui/fittingView.py @@ -383,11 +383,8 @@ class FittingView(d.Display): for i in xrange(4): wantedWidth += self.GetColumnWidth(i) - icount = self.GetItemCount() - irect = self.GetItemRect(0) - rect = self.GetRect() - rect.height = min(irect.height * icount + irect.top, rect.height - 16) + rect.height -= 16 rect.width = min(rect.width, wantedWidth) mdc = wx.MemoryDC()