]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/dcprint.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxPrinterDC class
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCPRINT_H_
13 #define _WX_DCPRINT_H_
15 #if defined(__GNUG__) && !defined(__APPLE__)
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) ;
37 void* m_macPrintSessionPort
;
38 wxPrintData m_printData
;
39 #endif // wxUSE_PRINTING_ARCHITECTURE