1999-01-01 11:05:26 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcprint.h
|
|
|
|
// Purpose: wxPrinterDC class
|
|
|
|
// Author: AUTHOR
|
|
|
|
// Modified by:
|
|
|
|
// Created: ??/??/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) AUTHOR
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DCPRINT_H_
|
|
|
|
#define _WX_DCPRINT_H_
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcprint.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dc.h"
|
1999-11-05 04:16:09 -05:00
|
|
|
#include "wx/cmndata.h"
|
1999-01-01 11:05:26 -05:00
|
|
|
|
|
|
|
class WXDLLEXPORT wxPrinterDC: public wxDC
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DECLARE_CLASS(wxPrinterDC)
|
|
|
|
|
|
|
|
// Create a printer DC
|
1999-11-05 04:16:09 -05:00
|
|
|
wxPrinterDC(const wxPrintData& printdata );
|
1999-01-01 11:05:26 -05:00
|
|
|
~wxPrinterDC();
|
1999-11-05 04:16:09 -05:00
|
|
|
|
|
|
|
virtual bool StartDoc( const wxString& WXUNUSED(message) ) ;
|
|
|
|
virtual void EndDoc(void) ;
|
|
|
|
virtual void StartPage(void) ;
|
|
|
|
virtual void EndPage(void) ;
|
|
|
|
protected :
|
|
|
|
TPPrPort m_macPrintPort ;
|
|
|
|
wxPrintData m_printData ;
|
1999-01-01 11:05:26 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_DCPRINT_H_
|
|
|
|
|