except:
size = self.row_def_line_size
+ if size < 1: return
+
try:
colour = self.row_line_colour[self.data_cnt]
except:
except:
size = self.column_def_line_size
+ if size < 1: continue
+
try:
colour = self.column_line_colour[col]
except:
printout2 = SetPrintout(self)
self.preview = wx.PrintPreview(printout, printout2, data)
if not self.preview.Ok():
- wxMessageBox("There was a problem printing!", "Printing", wx.OK)
+ wx.MessageBox("There was a problem printing!", "Printing", wx.OK)
return
self.preview.SetZoom(60) # initial zoom value