The m_showProgressDialog member of wxPdfPrinter is left uninitialized in the constructor. This is causing inconsistent behaviour whether or not a progress dialog is shown while the PDF is generated, unless it is set explicitly by calling wxPdfPrinter::ShowProgressDialog.
The m_showProgressDialog member of wxPdfPrinter is left uninitialized in the constructor. This is causing inconsistent behaviour whether or not a progress dialog is shown while the PDF is generated, unless it is set explicitly by calling wxPdfPrinter::ShowProgressDialog.