#include <windows.h>
-#if USE_COMMON_DIALOGS
+#if wxUSE_COMMON_DIALOGS
#include <commdlg.h>
#endif
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;