]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcprint.h
Correct check for MSVC version in wxUSE_GRAPHICS_CONTEXT definition.
[wxWidgets.git] / include / wx / motif / dcprint.h
index 543879f38a2a061025531eb5c2ac9f7b71c7c26a..b100108001cc4bb0e5d36bb10a3f05add5240462 100644 (file)
 #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);
-
+    wxPrinterDCImpl(const wxString& driver, const wxString& device,
+                    const wxString& output,
+                    bool interactive = true,
+                    wxPrintOrientation orientation = wxPORTRAIT);
     virtual ~wxPrinterDC();
+
+    wxRect GetPaperRect() const;
+
+    DECLARE_CLASS(wxPrinterDCImpl)
 };
 
-#endif
-// _WX_DCPRINT_H_
+#endif // _WX_DCPRINT_H_