]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcprint.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / motif / dcprint.h
index 4980bf3938e4f4c44752818abe18da2d211db60a..d0e133cb51fbee412705966fd7244bff2d0a29cc 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Julian Smart
 // Modified by:
 // Created:     17/09/98
-// RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/motif/dc.h"
 
-class WXDLLEXPORT wxPrinterDC : public wxMotifDCImpl
+class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl
 {
 public:
     // Create a printer DC
     wxPrinterDCImpl(const wxString& driver, const wxString& device,
                     const wxString& output,
                     bool interactive = true,
-                    int orientation = wxPORTRAIT);
+                    wxPrintOrientation orientation = wxPORTRAIT);
     virtual ~wxPrinterDC();
 
-    wxRect GetPaperRect();
+    wxRect GetPaperRect() const;
 
     DECLARE_CLASS(wxPrinterDCImpl)
 };