From: Karsten Ballüder Date: Tue, 20 Apr 1999 10:25:56 +0000 (+0000) Subject: I think I fixed the wxGenericPrintSetupDialog but PLEASE CHECK X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e955db19c1329a920e7922449f0072459d98100f?hp=8a126fcc3438c6b2693090e8c97761fa12d8ca7a I think I fixed the wxGenericPrintSetupDialog but PLEASE CHECK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index de944fc343..45682912d3 100644 --- a/src/generic/prntdlgg.cpp +++ b/src/generic/prntdlgg.cpp @@ -268,6 +268,7 @@ void wxGenericPrintDialog::OnRange(wxCommandEvent& event) void wxGenericPrintDialog::OnSetup(wxCommandEvent& WXUNUSED(event)) { + *wxThePrintSetupData = m_printDialogData.GetPrintData(); wxGenericPrintSetupDialog *genericPrintSetupDialog = new wxGenericPrintSetupDialog(this, wxThePrintSetupData); int ret = genericPrintSetupDialog->ShowModal();