projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reverted part of patch 1610494 (rev 1.35) which broke handling of ends of lines
[wxWidgets.git]
/
wxPython
/
wx
/
lib
/
printout.py
diff --git
a/wxPython/wx/lib/printout.py
b/wxPython/wx/lib/printout.py
index 4af7dbeb0bcef9b49e963e2758c1a20546eb60bc..2c11a6f2c6ba927f27f791261d987477bbbff6fa 100644
(file)
--- 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: