X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a2c763ccb07b91a8c66ee89413901a18910d6d6..3056dddc5438f7273ac6c75d8396520cd798812c:/include/wx/dcprint.h diff --git a/include/wx/dcprint.h b/include/wx/dcprint.h index 66265750f5..65e725482f 100644 --- a/include/wx/dcprint.h +++ b/include/wx/dcprint.h @@ -27,11 +27,13 @@ class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC public: wxPrinterDC(); wxPrinterDC(const wxPrintData& data); - virtual ~wxPrinterDC(); wxRect GetPaperRect(); int GetResolution(); +protected: + wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { } + private: DECLARE_DYNAMIC_CLASS(wxPrinterDC) };