X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..c030b70fc6270c2e44a81f83e69fcc91d2b3c768:/src/msw/dcprint.cpp diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index 6802ea9782..3dc7c60567 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -10,7 +10,6 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation #pragma implementation "dcprint.h" #endif @@ -26,11 +25,10 @@ #include "wx/dcprint.h" #include "math.h" -#include "fstream.h" #include -#if USE_COMMON_DIALOGS +#if wxUSE_COMMON_DIALOGS #include #endif @@ -54,14 +52,14 @@ IMPLEMENT_CLASS(wxPrinterDC, wxDC) #endif -wxPrinterDC::wxPrinterDC(const wxString& driver_name, const wxString& device_name, const wxString& file, const bool interactive, const int orientation) +wxPrinterDC::wxPrinterDC(const wxString& driver_name, const wxString& device_name, const wxString& file, bool interactive, int orientation) { m_isInteractive = interactive; if (!file.IsNull() && file != "") m_filename = file; -#if USE_COMMON_DIALOGS +#if wxUSE_COMMON_DIALOGS if (interactive) { PRINTDLG pd;