]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PrintFramework.py
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see...
[wxWidgets.git] / wxPython / demo / PrintFramework.py
index 5db34aaa3ee2bf84d798e6c1596380228b425675..86dcdd5eca3d0fcdfb01255a34035cc721d1fb5e 100644 (file)
@@ -132,8 +132,8 @@ class TestPrintPanel(wx.Panel):
         printerDialog.ShowModal();
 
         # this makes a copy of the wx.PrintData instead of just saving
         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()
         self.printData = wx.PrintData( printerDialog.GetPrintDialogData().GetPrintData() )
         
         printerDialog.Destroy()