From: Vadim Zeitlin Date: Fri, 30 Nov 2007 17:47:55 +0000 (+0000) Subject: corrected DECLARE_DYNAMIC_CLASS use X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1a2c763ccb07b91a8c66ee89413901a18910d6d6 corrected DECLARE_DYNAMIC_CLASS use git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dcprint.h b/include/wx/dcprint.h index 2ae605b7e4..66265750f5 100644 --- a/include/wx/dcprint.h +++ b/include/wx/dcprint.h @@ -22,23 +22,20 @@ // wxPrinterDC //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC +class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC { public: wxPrinterDC(); - wxPrinterDC( const wxPrintData& data ); - ~wxPrinterDC(); - + wxPrinterDC(const wxPrintData& data); + virtual ~wxPrinterDC(); + wxRect GetPaperRect(); int GetResolution(); - + 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_