Ticket #14731 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

wxGTK printing: it work only the first time

Reported by: wojdyr Owned by:
Priority: normal Milestone:
Component: wxGTK Version: 2.9-svn
Keywords: printing Cc:
Blocked By: Patch: yes
Blocking:

Description

This is continuation of #13093

Apparently GTK doesn't allow GtkPrintOperation to be reused.

I'm attaching a patch that creates new GtkPrintOperation every time Print() is called.

Attachments

do_not_reuse_GtkPrintOperation.diff download (1.6 KB) - added by wojdyr 8 months ago.

Change History

Changed 8 months ago by wojdyr

Changed 8 months ago by VZ

  • status changed from new to closed
  • resolution set to fixed

(In [72642]) Recreate GtkPrintOperation every time when printing in wxGTK.

Apparently reusing GtkPrintOperation is not allowed, so create a new one
every time we need it.

Closes #14731.

Note: See TracTickets for help on using tickets.