]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/dcprint.h
::Initialize() methods added to the helper classes
[wxWidgets.git] / include / wx / mac / dcprint.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dcprint.h
3 // Purpose: wxPrinterDC class
4 // Author: AUTHOR
5 // Modified by:
6 // Created: ??/??/98
7 // RCS-ID: $Id$
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DCPRINT_H_
13 #define _WX_DCPRINT_H_
14
15 #ifdef __GNUG__
16 #pragma interface "dcprint.h"
17 #endif
18
19 #include "wx/dc.h"
20 #include "wx/cmndata.h"
21
22 class WXDLLEXPORT wxPrinterDC: public wxDC
23 {
24 public:
25 DECLARE_CLASS(wxPrinterDC)
26
27 // Create a printer DC
28 wxPrinterDC(const wxPrintData& printdata );
29 ~wxPrinterDC();
30
31 virtual bool StartDoc( const wxString& WXUNUSED(message) ) ;
32 virtual void EndDoc(void) ;
33 virtual void StartPage(void) ;
34 virtual void EndPage(void) ;
35 protected :
36 TPPrPort m_macPrintPort ;
37 wxPrintData m_printData ;
38 };
39
40 #endif
41 // _WX_DCPRINT_H_
42