X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..6968a3b87cee46f5c5af9b46e1ef97f17133cef7:/include/wx/dcprint.h?ds=sidebyside diff --git a/include/wx/dcprint.h b/include/wx/dcprint.h index 2ae605b7e4..95dbff8f7a 100644 --- a/include/wx/dcprint.h +++ b/include/wx/dcprint.h @@ -22,23 +22,22 @@ // wxPrinterDC //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC +class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC { public: wxPrinterDC(); - wxPrinterDC( const wxPrintData& data ); - ~wxPrinterDC(); - - wxRect GetPaperRect(); - int GetResolution(); - + wxPrinterDC(const wxPrintData& data); + + wxRect GetPaperRect() const; + int GetResolution() const; + +protected: + wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { } + private: - DECLARE_DYNAMIC_CLASS() + DECLARE_DYNAMIC_CLASS(wxPrinterDC) }; +#endif // wxUSE_PRINTING_ARCHITECTURE -#endif - // wxUSE_PRINTING_ARCHITECTURE - -#endif - // _WX_DCPRINT_H_BASE_ +#endif // _WX_DCPRINT_H_BASE_