]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dcprint.h
cleanup
[wxWidgets.git] / include / wx / dcprint.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/dcprint.h
3 // Purpose: wxPrinterDC base header
4 // Author: Julian Smart
5 // Modified by:
6 // Created:
7 // Copyright: (c) Julian Smart
8 // RCS-ID: $Id$
9 // Licence: wxWindows Licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DCPRINT_H_BASE_
13 #define _WX_DCPRINT_H_BASE_
14
15 #include "wx/defs.h"
16
17 #if wxUSE_PRINTING_ARCHITECTURE
18
19 #if wxUSE_NEW_DC
20
21 #include "wx/dc.h"
22
23 //-----------------------------------------------------------------------------
24 // wxPrinterDC
25 //-----------------------------------------------------------------------------
26
27 class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC
28 {
29 public:
30 wxPrinterDC();
31 wxPrinterDC( const wxPrintData& data );
32 ~wxPrinterDC();
33
34 wxRect GetPaperRect();
35 int GetResolution();
36
37 private:
38 DECLARE_DYNAMIC_CLASS()
39 };
40
41 #else
42
43
44 #if defined(__WXPALMOS__)
45 #include "wx/palmos/dcprint.h"
46 #elif defined(__WXMSW__)
47 #include "wx/msw/dcprint.h"
48 #endif
49 #if defined(__WXPM__)
50 #include "wx/os2/dcprint.h"
51 #endif
52 #if defined(__WXMAC__)
53 #include "wx/mac/dcprint.h"
54 #endif
55
56 #endif // wxUSE_NEW_DC
57 #endif // wxUSE_PRINTING_ARCHITECTURE
58 #endif
59 // _WX_DCPRINT_H_BASE_