]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dcprint.h
Further wxDC changes
[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
33 wxRect GetPaperRect();
34 int GetResolution();
35
36 private:
37 DECLARE_DYNAMIC_CLASS()
38 };
39
40 #else
41
42
43 #if defined(__WXPALMOS__)
44 #include "wx/palmos/dcprint.h"
45 #elif defined(__WXMSW__)
46 #include "wx/msw/dcprint.h"
47 #endif
48 #if defined(__WXPM__)
49 #include "wx/os2/dcprint.h"
50 #endif
51 #if defined(__WXMAC__)
52 #include "wx/mac/dcprint.h"
53 #endif
54
55 #endif // wxUSE_NEW_DC
56 #endif // wxUSE_PRINTING_ARCHITECTURE
57 #endif
58 // _WX_DCPRINT_H_BASE_