]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcprint.h
Fixed a rare wxAuiFloatingFrame dtor crash on MSW using a registration mechanism...
[wxWidgets.git] / include / wx / dcprint.h
index 2ae605b7e4e40dc7a474cda0a7a45ce79573145f..65e725482fc0601478e91102862ebd217fa13ef2 100644 (file)
 // wxPrinterDC
 //-----------------------------------------------------------------------------
 
-class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC
+class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
 {
 public:
     wxPrinterDC();
-    wxPrinterDC( const wxPrintData& data );
-    ~wxPrinterDC();
-    
+    wxPrinterDC(const wxPrintData& data);
+
     wxRect GetPaperRect();
     int GetResolution();
-    
+
+protected:
+    wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
+
 private:
-    DECLARE_DYNAMIC_CLASS()
+    DECLARE_DYNAMIC_CLASS(wxPrinterDC)
 };
 
+#endif // wxUSE_PRINTING_ARCHITECTURE
 
-#endif 
-    // wxUSE_PRINTING_ARCHITECTURE
-    
-#endif
-    // _WX_DCPRINT_H_BASE_
+#endif // _WX_DCPRINT_H_BASE_