]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
Cured radiobutton non-setting by using BS_AUTORADIOBUTTON; cured gridg.cpp
[wxWidgets.git] / src / msw / dcprint.cpp
index 6802ea97826cf3e0d5a51c65345b4fe95b896627..3dc7c60567f60187ea8ca2e6f7d5c6e088d0cb47 100644 (file)
@@ -10,7 +10,6 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
-#pragma implementation
 #pragma implementation "dcprint.h"
 #endif
 
 
 #include "wx/dcprint.h"
 #include "math.h"
-#include "fstream.h"
 
 #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;