1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxPrinterDC base header
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
9 // Licence: wxWindows Licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCPRINT_H_BASE_
13 #define _WX_DCPRINT_H_BASE_
17 #if wxUSE_PRINTING_ARCHITECTURE
23 //-----------------------------------------------------------------------------
25 //-----------------------------------------------------------------------------
27 class WXDLLIMPEXP_CORE wxPrinterImplDCBase
30 wxPrinterImplDCBase() { }
32 virtual wxRect
DoGetPaperRect() = 0;
36 class WXDLLIMPEXP_CORE wxPrinterDC
: public wxDC
39 wxPrinterDC( const wxPrintData
& data
);
41 wxRect
GetPaperRect();
47 #if defined(__WXPALMOS__)
48 #include "wx/palmos/dcprint.h"
49 #elif defined(__WXMSW__)
50 #include "wx/msw/dcprint.h"
53 #include "wx/os2/dcprint.h"
55 #if defined(__WXMAC__)
56 #include "wx/mac/dcprint.h"
59 #endif // wxUSE_NEW_DC
60 #endif // wxUSE_PRINTING_ARCHITECTURE
62 // _WX_DCPRINT_H_BASE_