| 1 | ///////////////////////////////////////////////////////////////////////////// |
| 2 | // Name: dcprint.h |
| 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 |
| 9 | // Licence: wxWindows licence |
| 10 | ///////////////////////////////////////////////////////////////////////////// |
| 11 | |
| 12 | #ifndef _WX_DCPRINT_H_ |
| 13 | #define _WX_DCPRINT_H_ |
| 14 | |
| 15 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) |
| 16 | #pragma interface "dcprint.h" |
| 17 | #endif |
| 18 | |
| 19 | #include "wx/dc.h" |
| 20 | |
| 21 | class WXDLLEXPORT wxPrinterDC: public wxDC |
| 22 | { |
| 23 | public: |
| 24 | DECLARE_CLASS(wxPrinterDC) |
| 25 | |
| 26 | // Create a printer DC |
| 27 | wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT); |
| 28 | |
| 29 | ~wxPrinterDC(); |
| 30 | }; |
| 31 | |
| 32 | #endif |
| 33 | // _WX_DCPRINT_H_ |
| 34 | |