]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/dcprint.h
Implemented wxButton::DoGetBestSize for wxMotif. Now normal buttons
[wxWidgets.git] / include / wx / mac / dcprint.h
CommitLineData
0dbd6262
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcprint.h
3// Purpose: wxPrinterDC class
a31a5f85 4// Author: Stefan Csomor
0dbd6262 5// Modified by:
a31a5f85 6// Created: 1998-01-01
0dbd6262 7// RCS-ID: $Id$
a31a5f85 8// Copyright: (c) Stefan Csomor
d921af51 9// Licence: wxWindows licence
0dbd6262
SC
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCPRINT_H_
13#define _WX_DCPRINT_H_
14
af49c4b8 15#if defined(__GNUG__) && !defined(__APPLE__)
0dbd6262
SC
16#pragma interface "dcprint.h"
17#endif
18
19#include "wx/dc.h"
519cb848 20#include "wx/cmndata.h"
0dbd6262
SC
21
22class WXDLLEXPORT wxPrinterDC: public wxDC
23{
24 public:
25 DECLARE_CLASS(wxPrinterDC)
26
03e11df5 27#if wxUSE_PRINTING_ARCHITECTURE
0dbd6262 28 // Create a printer DC
519cb848 29 wxPrinterDC(const wxPrintData& printdata );
0dbd6262 30 ~wxPrinterDC();
519cb848
SC
31
32 virtual bool StartDoc( const wxString& WXUNUSED(message) ) ;
33 virtual void EndDoc(void) ;
34 virtual void StartPage(void) ;
35 virtual void EndPage(void) ;
bcaba9a0
GD
36 protected:
37 void* m_macPrintSessionPort ;
5273bf2f 38 wxPrintData m_printData ;
03e11df5 39#endif // wxUSE_PRINTING_ARCHITECTURE
0dbd6262
SC
40};
41
42#endif
43 // _WX_DCPRINT_H_
44