X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/356f3c650c69999793635e296f1332cefdcc60ab..1ee3fb3846ae47c5292128a6f0bd4c8e38d7ba31:/wxPython/demo/PrintFramework.py diff --git a/wxPython/demo/PrintFramework.py b/wxPython/demo/PrintFramework.py index 5db34aaa3e..86dcdd5eca 100644 --- a/wxPython/demo/PrintFramework.py +++ b/wxPython/demo/PrintFramework.py @@ -132,8 +132,8 @@ class TestPrintPanel(wx.Panel): printerDialog.ShowModal(); # this makes a copy of the wx.PrintData instead of just saving - # a reference to the one inside the printDialogData that will - # be destroyed + # a reference to the one inside the PrintDialogData that will + # be destroyed when the dialog is destroyed self.printData = wx.PrintData( printerDialog.GetPrintDialogData().GetPrintData() ) printerDialog.Destroy()