]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dcprint.h
Revert "Make wxMSW stack walking methods work with Unicode identifiers."
[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 // 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
24 class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
25 {
26 public:
27 wxPrinterDC();
28 wxPrinterDC(const wxPrintData& data);
29
30 wxRect GetPaperRect() const;
31 int GetResolution() const;
32
33 protected:
34 wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
35
36 private:
37 DECLARE_DYNAMIC_CLASS(wxPrinterDC)
38 };
39
40 #endif // wxUSE_PRINTING_ARCHITECTURE
41
42 #endif // _WX_DCPRINT_H_BASE_