]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/dcprint.h
all delete functions now send delete notification event
[wxWidgets.git] / include / wx / msw / dcprint.h
... / ...
CommitLineData
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$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCPRINT_H_
13#define _WX_DCPRINT_H_
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
27 wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT);
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
37 // _WX_DCPRINT_H_
38