]> git.saurik.com Git - wxWidgets.git/blob - include/wx/motif/dcprint.h
Add wxActivateEvent::GetActivationReason().
[wxWidgets.git] / include / wx / motif / dcprint.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/dcprint.h
3 // Purpose: wxPrinterDC class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_DCPRINT_H_
12 #define _WX_DCPRINT_H_
13
14 #include "wx/motif/dc.h"
15
16 class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl
17 {
18 public:
19 // Create a printer DC
20 wxPrinterDCImpl(const wxString& driver, const wxString& device,
21 const wxString& output,
22 bool interactive = true,
23 wxPrintOrientation orientation = wxPORTRAIT);
24 virtual ~wxPrinterDC();
25
26 wxRect GetPaperRect() const;
27
28 DECLARE_CLASS(wxPrinterDCImpl)
29 };
30
31 #endif // _WX_DCPRINT_H_