wxDC rework, forgot these
authorRobert Roebling <robert@roebling.de>
Wed, 14 Nov 2007 21:05:43 +0000 (21:05 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 14 Nov 2007 21:05:43 +0000 (21:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dcprint.h
src/common/dcbase.cpp

index 7b46592385c38b653a13b22b449403bf4cf05426..338f2f017a48bc303400d78f67b4a5b2228dffb2 100644 (file)
@@ -29,6 +29,7 @@ class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC
 public:
     wxPrinterDC();
     wxPrinterDC( const wxPrintData& data );
+    ~wxPrinterDC();
     
     wxRect GetPaperRect();
     int GetResolution();
index 585486e25a7e21282a62ac81c407bfacac10ceba..be5eeb9578f5f7e0b66cb84861f80257f31c099a 100644 (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
 //-----------------------------------------------------------------------------