]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/dcprint.h
make wxFileName::{Mk,Rm}dir() const (closes #10868)
[wxWidgets.git] / include / wx / dcprint.h
... / ...
CommitLineData
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#include "wx/dc.h"
20
21//-----------------------------------------------------------------------------
22// wxPrinterDC
23//-----------------------------------------------------------------------------
24
25class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
26{
27public:
28 wxPrinterDC();
29 wxPrinterDC(const wxPrintData& data);
30
31 wxRect GetPaperRect() const;
32 int GetResolution() const;
33
34protected:
35 wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
36
37private:
38 DECLARE_DYNAMIC_CLASS(wxPrinterDC)
39};
40
41#endif // wxUSE_PRINTING_ARCHITECTURE
42
43#endif // _WX_DCPRINT_H_BASE_