X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db49000e6c3340297e14c8659612bbd5f9004bce..2afb9e169048b77a41c63b4f4eea3b10daee641a:/include/wx/mac/carbon/dcprint.h diff --git a/include/wx/mac/carbon/dcprint.h b/include/wx/mac/carbon/dcprint.h index 2cfdd1a814..79f8d3b2f7 100644 --- a/include/wx/mac/carbon/dcprint.h +++ b/include/wx/mac/carbon/dcprint.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcprint.h +// Name: wx/mac/carbon/dcprint.h // Purpose: wxPrinterDC class // Author: Stefan Csomor // Modified by: @@ -25,17 +25,17 @@ class WXDLLEXPORT wxPrinterDC: public wxDC // Create a printer DC wxPrinterDC(const wxPrintData& printdata ); - ~wxPrinterDC(); + virtual ~wxPrinterDC(); virtual bool StartDoc( const wxString& WXUNUSED(message) ) ; virtual void EndDoc(void) ; virtual void StartPage(void) ; virtual void EndPage(void) ; + + wxRect GetPaperRect(); + wxPrintData& GetPrintData() { return m_printData; } virtual wxSize GetPPI() const; -#if wxMAC_USE_CORE_GRAPHICS - void MacSetCGContext( void * cg ) ; -#endif protected: virtual void DoGetSize( int *width, int *height ) const; wxPrintData m_printData ;