]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcprint.h
flipped accessor conforming to plain c++ impl
[wxWidgets.git] / include / wx / dcprint.h
index 66265750f5eb0602fe001c02c68d9b8fa0a85548..95dbff8f7adc348a29cf7c2f9cabf40fcc1bab2d 100644 (file)
@@ -27,10 +27,12 @@ class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
 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)