X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..b466e85a7e81db84545bc44c83cbe4ccacd4fe8e:/include/wx/motif/dcprint.h?ds=sidebyside diff --git a/include/wx/motif/dcprint.h b/include/wx/motif/dcprint.h index 61e593c15e..1292a44ea1 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 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, + int orientation = wxPORTRAIT); + virtual ~wxPrinterDC(); + + wxRect GetPaperRect() const; - ~wxPrinterDC(); + DECLARE_CLASS(wxPrinterDCImpl) }; -#endif -// _WX_DCPRINT_H_ +#endif // _WX_DCPRINT_H_