X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..344ff08345eba81fcdcc55dd711ce6bc4bb747a3:/src/mac/carbon/dcprint.cpp?ds=inline diff --git a/src/mac/carbon/dcprint.cpp b/src/mac/carbon/dcprint.cpp index a7d3de26e9..490b083065 100644 --- a/src/mac/carbon/dcprint.cpp +++ b/src/mac/carbon/dcprint.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcprint.cpp +// Name: src/mac/carbon/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". @@ -15,14 +15,15 @@ #if wxUSE_PRINTING_ARCHITECTURE #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif +#include "wx/dcprint.h" + #ifndef WX_PRECOMP + #include "wx/msgdlg.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" @@ -207,7 +208,7 @@ void wxMacCarbonPrinterDC::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 ) ; @@ -238,7 +239,7 @@ wxPrinterDC::~wxPrinterDC(void) } #if wxMAC_USE_CORE_GRAPHICS -void wxPrinterDC::MacSetCGContext( void * cg ) +void wxPrinterDC::MacSetCGContext( void * cg ) { ((wxMacCGContext*)(m_graphicContext))->SetNativeContext( (CGContextRef) cg ) ; m_graphicContext->SetPen( m_pen ) ;