]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcprint.h
fix gcc warnings about not calling the base class ctors (replaces patch 1962992)
[wxWidgets.git] / include / wx / dcprint.h
index 66265750f5eb0602fe001c02c68d9b8fa0a85548..65e725482fc0601478e91102862ebd217fa13ef2 100644 (file)
@@ -27,11 +27,13 @@ class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
 public:
     wxPrinterDC();
     wxPrinterDC(const wxPrintData& data);
-    virtual ~wxPrinterDC();
 
     wxRect GetPaperRect();
     int GetResolution();
 
+protected:
+    wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
+
 private:
     DECLARE_DYNAMIC_CLASS(wxPrinterDC)
 };