X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..579e055907e6cc5aa25f9a8fa90b952d8a58159c:/include/wx/motif/dcprint.h diff --git a/include/wx/motif/dcprint.h b/include/wx/motif/dcprint.h index 91812557e6..1292a44ea1 100644 --- a/include/wx/motif/dcprint.h +++ b/include/wx/motif/dcprint.h @@ -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 -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#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) - // 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(); -#endif -// _WX_DCPRINT_H_ + wxRect GetPaperRect() const; + + DECLARE_CLASS(wxPrinterDCImpl) +}; +#endif // _WX_DCPRINT_H_