X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..d3e780ecdf69233c872d51216eedbc64a1b6db25:/src/generic/prntdlgg.cpp?ds=sidebyside diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index 6613985976..19d2d2800c 100644 --- a/src/generic/prntdlgg.cpp +++ b/src/generic/prntdlgg.cpp @@ -261,7 +261,6 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event)) // and the standard print dialog. The global printing 'mode' // is determined by whether the user checks Print to file // or not. -#if wxUSE_FILEDLG if (m_printDialogData.GetPrintToFile()) { m_printDialogData.GetPrintData().SetPrintMode(wxPRINT_MODE_FILE); @@ -275,7 +274,6 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event)) m_printDialogData.GetPrintData().SetFilename( dialog.GetPath() ); } else -#endif { m_printDialogData.GetPrintData().SetPrintMode(wxPRINT_MODE_PRINTER); }