X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a2c763ccb07b91a8c66ee89413901a18910d6d6..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/dcprint.h?ds=sidebyside diff --git a/include/wx/dcprint.h b/include/wx/dcprint.h index 66265750f5..95dbff8f7a 100644 --- a/include/wx/dcprint.h +++ b/include/wx/dcprint.h @@ -27,10 +27,12 @@ class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC public: wxPrinterDC(); wxPrinterDC(const wxPrintData& data); - virtual ~wxPrinterDC(); - wxRect GetPaperRect(); - int GetResolution(); + wxRect GetPaperRect() const; + int GetResolution() const; + +protected: + wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { } private: DECLARE_DYNAMIC_CLASS(wxPrinterDC)