From 467f4d3a74657334b6a10ead3a86c535f6480943 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 13 Jun 2005 20:48:52 +0000 Subject: [PATCH] Pass the print data to the wx.PrintDialogData ctor. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/plot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wxPython/wx/lib/plot.py b/wxPython/wx/lib/plot.py index a5fbb89e98..e1d02016b6 100644 --- a/wxPython/wx/lib/plot.py +++ b/wxPython/wx/lib/plot.py @@ -564,8 +564,7 @@ class PlotCanvas(wx.Window): """Print current plot.""" if paper != None: self.print_data.SetPaperId(paper) - pdd = wx.PrintDialogData() - pdd.SetPrintData(self.print_data) + pdd = wx.PrintDialogData(self.print_data) printer = wx.Printer(pdd) out = PlotPrintout(self) print_ok = printer.Print(self.parent, out) -- 2.50.0