]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/printout.py
reSWIGged
[wxWidgets.git] / wxPython / wx / lib / printout.py
index 0ced233037385ad4de6ba694291ce0503ad66c81..4af7dbeb0bcef9b49e963e2758c1a20546eb60bc 100644 (file)
@@ -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