wxDC rework, forgot these

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-11-14 21:05:43 +00:00
parent c0e15042c3
commit 38dd8ed404
2 changed files with 16 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC
public:
wxPrinterDC();
wxPrinterDC( const wxPrintData& data );
~wxPrinterDC();
wxRect GetPaperRect();
int GetResolution();

View File

@ -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
//-----------------------------------------------------------------------------