]> git.saurik.com Git - wxWidgets.git/blame - include/wx/dcprint.h
fix wxColourDialog::Centre() and SetSize() (modified patch 1831628)
[wxWidgets.git] / include / wx / dcprint.h
CommitLineData
99d80019
JS
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
34138703
JS
12#ifndef _WX_DCPRINT_H_BASE_
13#define _WX_DCPRINT_H_BASE_
c801d85f 14
c8f84271
PC
15#include "wx/defs.h"
16
17#if wxUSE_PRINTING_ARCHITECTURE
18
c8ddadff
RR
19#if wxUSE_NEW_DC
20
21#include "wx/dc.h"
22
23//-----------------------------------------------------------------------------
24// wxPrinterDC
25//-----------------------------------------------------------------------------
26
c8ddadff
RR
27class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC
28{
29public:
4f37154e 30 wxPrinterDC();
c8ddadff 31 wxPrinterDC( const wxPrintData& data );
38dd8ed4 32 ~wxPrinterDC();
c8ddadff
RR
33
34 wxRect GetPaperRect();
4f37154e
RR
35 int GetResolution();
36
37private:
38 DECLARE_DYNAMIC_CLASS()
c8ddadff
RR
39};
40
41#else
42
43
4055ed82 44#if defined(__WXPALMOS__)
ffecfa5a
JS
45#include "wx/palmos/dcprint.h"
46#elif defined(__WXMSW__)
c801d85f
KB
47#include "wx/msw/dcprint.h"
48#endif
1777b9bb
DW
49#if defined(__WXPM__)
50#include "wx/os2/dcprint.h"
51#endif
e7549107
SC
52#if defined(__WXMAC__)
53#include "wx/mac/dcprint.h"
54#endif
c801d85f 55
c8ddadff 56#endif // wxUSE_NEW_DC
c8f84271 57#endif // wxUSE_PRINTING_ARCHITECTURE
c801d85f 58#endif
34138703 59 // _WX_DCPRINT_H_BASE_