PLCOpenEditor.py
changeset 690 a32548167224
parent 689 ce605c1a6d04
child 691 361389f3ad2b
equal deleted inserted replaced
689:ce605c1a6d04 690:a32548167224
  1251             if not printer.Print(self, printout, True) and printer.GetLastError() != wx.PRINTER_CANCELLED:
  1251             if not printer.Print(self, printout, True) and printer.GetLastError() != wx.PRINTER_CANCELLED:
  1252                 self.ShowErrorMessage(_("There was a problem printing.\nPerhaps your current printer is not set correctly?"))
  1252                 self.ShowErrorMessage(_("There was a problem printing.\nPerhaps your current printer is not set correctly?"))
  1253             printout.Destroy()
  1253             printout.Destroy()
  1254 
  1254 
  1255     def OnPropertiesMenu(self, event):
  1255     def OnPropertiesMenu(self, event):
  1256         self.ShowProperties()
  1256         self.EditProjectSettings()
  1257 
  1257 
  1258     def OnQuitMenu(self, event):
  1258     def OnQuitMenu(self, event):
  1259         self.Close()
  1259         self.Close()
  1260 
  1260 
  1261 #-------------------------------------------------------------------------------
  1261 #-------------------------------------------------------------------------------