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 #if PM_USE_SESSION_APIS
39 PMPrintSession m_macPrintSession
;
41 PMPrintContext m_macPrintPort
;
44 TPPrPort m_macPrintPort
;
46 wxPrintData m_printData
;
47 #endif // wxUSE_PRINTING_ARCHITECTURE