1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxPrinterDC class
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCPRINT_H_
13 #define _WX_DCPRINT_H_
16 #pragma interface "dcprint.h"
20 #include "wx/cmndata.h"
22 class WXDLLEXPORT wxPrinterDC
: public wxDC
25 DECLARE_CLASS(wxPrinterDC
)
27 #if wxUSE_PRINTING_ARCHITECTURE
28 // Create a printer DC
29 wxPrinterDC(const wxPrintData
& printdata
);
32 virtual bool StartDoc( const wxString
& WXUNUSED(message
) ) ;
33 virtual void EndDoc(void) ;
34 virtual void StartPage(void) ;
35 virtual void EndPage(void) ;
38 PMPrintContext m_macPrintPort
;
40 TPPrPort m_macPrintPort
;
42 wxPrintData m_printData
;
43 #endif // wxUSE_PRINTING_ARCHITECTURE