]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dcprint.h
Daniel Gehriger <dgehrige@dmtsun.epfl.ch> patch for default extension filter
[wxWidgets.git] / include / wx / msw / dcprint.h
CommitLineData
2bda0e17
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcprint.h
3// Purpose: wxPrinterDC class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc
JS
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_DCPRINT_H_
13#define _WX_DCPRINT_H_
2bda0e17
KB
14
15#ifdef __GNUG__
16#pragma interface "dcprint.h"
17#endif
18
19#include "wx/dc.h"
20
21class WXDLLEXPORT wxPrinterDC: public wxDC
22{
23 public:
24 DECLARE_CLASS(wxPrinterDC)
25
26 // Create a printer DC
debe6624 27 wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT);
2bda0e17
KB
28 wxPrinterDC(WXHDC theDC);
29
30 ~wxPrinterDC(void);
31};
32
33// Gets an HDC for the default printer configuration
34WXHDC WXDLLEXPORT wxGetPrinterDC(int orientation);
35
36#endif
bbcdf8bc 37 // _WX_DCPRINT_H_
2bda0e17 38