]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/dcprint.h
wxProp now intercepts EVT_TEXT_ENTER instead of EVT_TEXT
[wxWidgets.git] / include / wx / msw / dcprint.h
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
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 wxPrinterDC(WXHDC theDC);
29
30 ~wxPrinterDC(void);
31 };
32
33 // Gets an HDC for the default printer configuration
34 WXHDC WXDLLEXPORT wxGetPrinterDC(int orientation);
35
36 #endif
37 // _WX_DCPRINT_H_
38