]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/dcprint.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxPrinterDC class
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCPRINT_H_
13 #define _WX_DCPRINT_H_
16 #pragma interface "dcprint.h"
19 #if wxUSE_PRINTING_ARCHITECTURE
22 #include "wx/cmndata.h"
24 class WXDLLEXPORT wxPrinterDC
: public wxDC
27 DECLARE_CLASS(wxPrinterDC
)
29 // Create a printer DC [obsolete]
30 wxPrinterDC(const wxString
& driver
, const wxString
& device
, const wxString
& output
, bool interactive
= TRUE
, int orientation
= wxPORTRAIT
);
32 // Create from print data
33 wxPrinterDC(const wxPrintData
& data
);
35 wxPrinterDC(WXHDC theDC
);
39 bool StartDoc(const wxString
& message
);
45 wxPrintData m_printData
;
48 // Gets an HDC for the specified printer configuration
49 WXHDC WXDLLEXPORT
wxGetPrinterDC(const wxPrintData
& data
);
51 #endif // wxUSE_PRINTING_ARCHITECTURE