]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcprint.h
remove obsolete check for GTK 2.6
[wxWidgets.git] / include / wx / dcprint.h
index 66265750f5eb0602fe001c02c68d9b8fa0a85548..6d84731116804dd9434c15b183abb288c0e3a4c1 100644 (file)
@@ -5,7 +5,6 @@
 // Modified by:
 // Created:
 // Copyright:   (c) Julian Smart
 // Modified by:
 // Created:
 // Copyright:   (c) Julian Smart
-// RCS-ID:      $Id$
 // Licence:     wxWindows Licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows Licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -27,10 +26,12 @@ class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
 public:
     wxPrinterDC();
     wxPrinterDC(const wxPrintData& data);
 public:
     wxPrinterDC();
     wxPrinterDC(const wxPrintData& data);
-    virtual ~wxPrinterDC();
 
 
-    wxRect GetPaperRect();
-    int GetResolution();
+    wxRect GetPaperRect() const;
+    int GetResolution() const;
+
+protected:
+    wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
 
 private:
     DECLARE_DYNAMIC_CLASS(wxPrinterDC)
 
 private:
     DECLARE_DYNAMIC_CLASS(wxPrinterDC)