]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/dcprint.h
avoiding crash for pure modifier events
[wxWidgets.git] / include / wx / motif / dcprint.h
CommitLineData
9b6dbb09 1/////////////////////////////////////////////////////////////////////////////
925f7740 2// Name: wx/motif/dcprint.h
9b6dbb09
JS
3// Purpose: wxPrinterDC class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
925f7740 9// Licence: wxWindows licence
9b6dbb09
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCPRINT_H_
13#define _WX_DCPRINT_H_
14
fce127d7 15#include "wx/motif/dc.h"
9b6dbb09 16
53a2db12 17class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl
9b6dbb09 18{
83df96d6 19public:
83df96d6 20 // Create a printer DC
fce127d7
VZ
21 wxPrinterDCImpl(const wxString& driver, const wxString& device,
22 const wxString& output,
23 bool interactive = true,
24 int orientation = wxPORTRAIT);
25 virtual ~wxPrinterDC();
925f7740 26
f415cab9
JS
27 wxRect GetPaperRect();
28
fce127d7 29 DECLARE_CLASS(wxPrinterDCImpl)
9b6dbb09
JS
30};
31
fce127d7 32#endif // _WX_DCPRINT_H_