/////////////////////////////////////////////////////////////////////////////
-// 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_
-#ifdef __GNUG__
-#pragma interface "dcprint.h"
-#endif
+#include "wx/motif/dc.h"
-#include "wx/dc.h"
-
-class WXDLLEXPORT wxPrinterDC: public wxDC
+class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl
{
- public:
- DECLARE_CLASS(wxPrinterDC)
+public:
+ // Create a printer DC
+ wxPrinterDCImpl(const wxString& driver, const wxString& device,
+ const wxString& output,
+ bool interactive = true,
+ wxPrintOrientation orientation = wxPORTRAIT);
+ virtual ~wxPrinterDC();
- // Create a printer DC
- wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT);
+ wxRect GetPaperRect() const;
- ~wxPrinterDC();
+ DECLARE_CLASS(wxPrinterDCImpl)
};
-#endif
- // _WX_DCPRINT_H_
-
+#endif // _WX_DCPRINT_H_