]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcprint.h
routing native events first to the wx class and only if skipped call native handler
[wxWidgets.git] / include / wx / motif / dcprint.h
index 1252898e7f69391e441780afad217a6293702f45..1292a44ea15678d975e7416342300d2f703142f0 100644 (file)
@@ -1,30 +1,32 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcprint.h
+// Name:        wx/motif/dcprint.h
 // Purpose:     wxPrinterDC class
 // Author:      Julian Smart
 // Modified by:
 // Created:     17/09/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DCPRINT_H_
 #define _WX_DCPRINT_H_
 
-#include "wx/dc.h"
+#include "wx/motif/dc.h"
 
-class WXDLLEXPORT wxPrinterDC: public wxDC
+class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl
 {
 public:
-    DECLARE_CLASS(wxPrinterDC)
-        
     // Create a printer DC
-    wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = true, int orientation = wxPORTRAIT);
-    
-    ~wxPrinterDC();
-};
+    wxPrinterDCImpl(const wxString& driver, const wxString& device,
+                    const wxString& output,
+                    bool interactive = true,
+                    int orientation = wxPORTRAIT);
+    virtual ~wxPrinterDC();
+
+    wxRect GetPaperRect() const;
 
-#endif
-// _WX_DCPRINT_H_
+    DECLARE_CLASS(wxPrinterDCImpl)
+};
 
+#endif // _WX_DCPRINT_H_