From: Robert Roebling Date: Wed, 14 Nov 2007 21:05:43 +0000 (+0000) Subject: wxDC rework, forgot these X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/38dd8ed40423d980243d95e4d54e1f500c32f557?ds=inline wxDC rework, forgot these git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dcprint.h b/include/wx/dcprint.h index 7b46592385..338f2f017a 100644 --- a/include/wx/dcprint.h +++ b/include/wx/dcprint.h @@ -29,6 +29,7 @@ class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC public: wxPrinterDC(); wxPrinterDC( const wxPrintData& data ); + ~wxPrinterDC(); wxRect GetPaperRect(); int GetResolution(); diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 585486e25a..be5eeb9578 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -477,6 +477,21 @@ wxPrinterDC::wxPrinterDC( const wxPrintData &data ) m_pimpl = factory->CreatePrinterDC( this, data ); } +wxPrinterDC::~wxPrinterDC() +{ +} + +wxRect wxPrinterDC::GetPaperRect() +{ + return GetImpl()->GetPaperRect(); +} + +int wxPrinterDC::GetResolution() +{ + return GetImpl()->GetResolution(); +} + + //----------------------------------------------------------------------------- // wxImplDC //-----------------------------------------------------------------------------