utelle / wxpdfdoc

wxPdfDocument - Generation of PDF documents from wxWidgets applications
http://utelle.github.io/wxpdfdoc/
Other
71 stars 27 forks source link

Uninitialized variable in wxPdfPrinter #45

Closed k4martin closed 6 years ago

k4martin commented 6 years ago

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.

utelle commented 6 years ago

Thanks for reporting.

Commit c48bc610c6db8195805ce449fef5bcd852f598b5 fixes the issue.