]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/dcprint.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxPrinterDC class
4 // Author: David Webster
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCPRINT_H_
13 #define _WX_DCPRINT_H_
15 #if wxUSE_PRINTING_ARCHITECTURE
18 #include "wx/cmndata.h"
20 class WXDLLEXPORT wxPrinterDC
: public wxDC
23 DECLARE_CLASS(wxPrinterDC
)
25 // Create a printer DC [obsolete]
26 wxPrinterDC(const wxString
& driver
, const wxString
& device
, const wxString
& output
, bool interactive
= TRUE
, int orientation
= wxPORTRAIT
);
28 // Create from print data
29 wxPrinterDC(const wxPrintData
& data
);
31 wxPrinterDC(WXHDC theDC
);
35 bool StartDoc(const wxString
& message
);
41 wxPrintData m_printData
;
44 // Gets an HDC for the specified printer configuration
45 WXHDC WXDLLEXPORT
wxGetPrinterDC(const wxPrintData
& data
);
47 #endif // wxUSE_PRINTING_ARCHITECTURE