X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f415cab9ef1433413a1a68a982ee9b17c5a8deda..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/motif/dcprint.h diff --git a/include/wx/motif/dcprint.h b/include/wx/motif/dcprint.h index bd9687152f..b100108001 100644 --- a/include/wx/motif/dcprint.h +++ b/include/wx/motif/dcprint.h @@ -12,20 +12,21 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#include "wx/dc.h" +#include "wx/motif/dc.h" -class WXDLLEXPORT wxPrinterDC: public wxDC +class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl { public: - DECLARE_CLASS(wxPrinterDC) - // Create a printer DC - wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = true, int orientation = wxPORTRAIT); + wxPrinterDCImpl(const wxString& driver, const wxString& device, + const wxString& output, + bool interactive = true, + wxPrintOrientation orientation = wxPORTRAIT); + virtual ~wxPrinterDC(); - wxRect GetPaperRect(); + wxRect GetPaperRect() const; - virtual ~wxPrinterDC(); + DECLARE_CLASS(wxPrinterDCImpl) }; -#endif -// _WX_DCPRINT_H_ +#endif // _WX_DCPRINT_H_