X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..1cf57808cb146742378d24faa77b9e9482c86b2b:/include/wx/motif/dcprint.h diff --git a/include/wx/motif/dcprint.h b/include/wx/motif/dcprint.h index 543879f38a..4980bf3938 100644 --- a/include/wx/motif/dcprint.h +++ b/include/wx/motif/dcprint.h @@ -12,18 +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 WXDLLEXPORT 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, + int orientation = wxPORTRAIT); virtual ~wxPrinterDC(); + + wxRect GetPaperRect(); + + DECLARE_CLASS(wxPrinterDCImpl) }; -#endif -// _WX_DCPRINT_H_ +#endif // _WX_DCPRINT_H_