X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7a014180017908d32f0af32ebfa140fdc82b390..5d9dedfe38429763e11fa8a906cebee7ad3db770:/wxPython/wx/lib/printout.py?ds=sidebyside diff --git a/wxPython/wx/lib/printout.py b/wxPython/wx/lib/printout.py index 0ced233037..4af7dbeb0b 100644 --- a/wxPython/wx/lib/printout.py +++ b/wxPython/wx/lib/printout.py @@ -911,7 +911,7 @@ class PrintTable: 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