]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/dcprint.h
Don't generate any events from wxSpinCtrl and wxSpinCtrlDouble methods.
[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// Licence: wxWindows Licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_DCPRINT_H_BASE_
12#define _WX_DCPRINT_H_BASE_
13
14#include "wx/defs.h"
15
16#if wxUSE_PRINTING_ARCHITECTURE
17
18#include "wx/dc.h"
19
20//-----------------------------------------------------------------------------
21// wxPrinterDC
22//-----------------------------------------------------------------------------
23
24class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
25{
26public:
27 wxPrinterDC();
28 wxPrinterDC(const wxPrintData& data);
29
30 wxRect GetPaperRect() const;
31 int GetResolution() const;
32
33protected:
34 wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
35
36private:
37 DECLARE_DYNAMIC_CLASS(wxPrinterDC)
38};
39
40#endif // wxUSE_PRINTING_ARCHITECTURE
41
42#endif // _WX_DCPRINT_H_BASE_