#include "wx/cmndata.h"
#include "wx/os2/dc.h"
-class WXDLLEXPORT wxPrinterDCImpl: public wxPMDCImpl
+class WXDLLIMPEXP_CORE wxPrinterDCImpl: public wxPMDCImpl
{
public:
// Create a printer DC
virtual void StartPage(void);
virtual void EndPage(void);
- virtual wxRect GetPaperRect();
+ virtual wxRect GetPaperRect() const;
protected:
virtual void DoDrawBitmap( const wxBitmap& rBmp
,wxDC* pSource
,wxCoord vXsrc
,wxCoord vYsrc
- ,int nRop = wxCOPY
+ ,wxRasterOperationMode nRop = wxCOPY
,bool bUseMask = FALSE
,wxCoord vXsrcMask = -1
,wxCoord vYsrcMask = -1
wxPrintData m_printData;
private:
DECLARE_CLASS(wxPrinterDCImpl)
- DECLARE_NO_COPY_CLASS(wxPrinterDCImpl)
+ wxDECLARE_NO_COPY_CLASS(wxPrinterDCImpl);
}; // end of CLASS wxPrinterDC
// Gets an HDC for the specified printer configuration
-WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& rData);
+WXHDC WXDLLIMPEXP_CORE wxGetPrinterDC(const wxPrintData& rData);
#endif // wxUSE_PRINTING_ARCHITECTURE