X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47d67540a017101b3e46abe9ef0f55914d8de37e..eeccd5d94ce6b11f36af95db4ac528a2e2e0c4c5:/src/msw/dcprint.cpp diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index 147f520545..43a6be9b8d 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,7 +25,6 @@ #include "wx/dcprint.h" #include "math.h" -#include "fstream.h" #include @@ -67,7 +65,7 @@ wxPrinterDC::wxPrinterDC(const wxString& driver_name, const wxString& device_nam PRINTDLG pd; pd.lStructSize = sizeof( PRINTDLG ); - pd.hwndOwner=NULL; + pd.hwndOwner=(HWND) NULL; pd.hDevMode=(HANDLE)NULL; pd.hDevNames=(HANDLE)NULL; pd.Flags=PD_RETURNDC | PD_NOSELECTION | PD_NOPAGENUMS;