]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcprint.h
change grow box implementation - was incorrectly getting the focus in panels before
[wxWidgets.git] / include / wx / motif / dcprint.h
index 2454826e8ebcfacd3daa65e4f361b02e8b9c2745..b100108001cc4bb0e5d36bb10a3f05add5240462 100644 (file)
@@ -1,34 +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
 // 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_
 
 /////////////////////////////////////////////////////////////////////////////
 
 #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:
 {
 public:
-    DECLARE_CLASS(wxPrinterDC)
-        
     // Create a printer DC
     // 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,
+                    wxPrintOrientation orientation = wxPORTRAIT);
+    virtual ~wxPrinterDC();
 
 
-#endif
-// _WX_DCPRINT_H_
+    wxRect GetPaperRect() const;
+
+    DECLARE_CLASS(wxPrinterDCImpl)
+};
 
 
+#endif // _WX_DCPRINT_H_