From 1a2c763ccb07b91a8c66ee89413901a18910d6d6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 30 Nov 2007 17:47:55 +0000 Subject: [PATCH] corrected DECLARE_DYNAMIC_CLASS use git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dcprint.h | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) 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_ -- 2.50.0