From 9f54c187b027671bd956d6e5dc66387136441977 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 26 Aug 2006 21:15:40 +0000 Subject: [PATCH] Patch #1547057: Disable grid lines in wx.lib.printout.PrintTable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/printout.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wxPython/wx/lib/printout.py b/wxPython/wx/lib/printout.py index 4af7dbeb0b..2c11a6f2c6 100644 --- a/wxPython/wx/lib/printout.py +++ b/wxPython/wx/lib/printout.py @@ -612,6 +612,8 @@ class PrintTableDraw(wx.ScrolledWindow, PrintBase): except: size = self.row_def_line_size + if size < 1: return + try: colour = self.row_line_colour[self.data_cnt] except: @@ -633,6 +635,8 @@ class PrintTableDraw(wx.ScrolledWindow, PrintBase): except: size = self.column_def_line_size + if size < 1: continue + try: colour = self.column_line_colour[col] except: -- 2.50.0