X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..b9eb3d9de670bdeb0b6c2500b43bb74bc3807bd9:/src/mac/classic/dcprint.cpp?ds=sidebyside diff --git a/src/mac/classic/dcprint.cpp b/src/mac/classic/dcprint.cpp index 9631602190..b26db3e8c6 100644 --- a/src/mac/classic/dcprint.cpp +++ b/src/mac/classic/dcprint.cpp @@ -1,27 +1,28 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcprint.cpp +// Name: src/mac/classic/dcprint.cpp // Purpose: wxPrinterDC class // Author: Julian Smart // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif +#include "wx/dcprint.h" + #ifndef WX_PRECOMP + #include "wx/msgdlg.h" + #include "wx/math.h" #endif -#include "wx/dcprint.h" -#include "wx/msgdlg.h" -#include "wx/math.h" #include "wx/mac/uma.h" #include "wx/mac/private/print.h" @@ -300,7 +301,7 @@ void wxMacClassicPrinterDC::EndPage( wxPrinterDC* dc ) wxPrinterDC::wxPrinterDC(const wxPrintData& printdata) { - m_ok = FALSE ; + m_ok = false ; m_printData = printdata ; m_printData.ConvertToNative() ; m_nativePrinterDC = wxNativePrinterDC::Create( &m_printData ) ; @@ -406,5 +407,3 @@ void wxPrinterDC::DoGetSize(int *width, int *height) const if ( height ) * height = m_nativePrinterDC->GetMaxY() ; } - -