X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33785d9f22d92717aedef5249210e03b69bdff5c..28c628bb931e0f644880a6a39afebed1390671b8:/wxPython/demo/wxHtmlWindow.py diff --git a/wxPython/demo/wxHtmlWindow.py b/wxPython/demo/wxHtmlWindow.py index 48b0706111..edfe7027b6 100644 --- a/wxPython/demo/wxHtmlWindow.py +++ b/wxPython/demo/wxHtmlWindow.py @@ -196,7 +196,7 @@ class TestHtmlPanel(wx.Panel): def OnPrint(self, event): - ##self.printer.GetPageSetupData().SetMarginTopLeft((100,100)) + self.printer.GetPrintData().SetPaperId(wx.PAPER_LETTER) self.printer.PrintFile(self.html.GetOpenedPage()) #----------------------------------------------------------------------