]> git.saurik.com Git - wxWidgets.git/blame - include/wx/x11/print.h
more compilation fixes for VC6 (#9492)
[wxWidgets.git] / include / wx / x11 / print.h
CommitLineData
83df96d6 1/////////////////////////////////////////////////////////////////////////////
1b88201f 2// Name: wx/x11/print.h
83df96d6
JS
3// Purpose: wxPrinter, wxPrintPreview classes
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
1b88201f 9// Licence: wxWindows licence
83df96d6
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_PRINT_H_
13#define _WX_PRINT_H_
14
83df96d6
JS
15#include "wx/prntbase.h"
16
17/*
18* Represents the printer: manages printing a wxPrintout object
19*/
20
53a2db12 21class WXDLLIMPEXP_CORE wxPrinter: public wxPrinterBase
83df96d6
JS
22{
23 DECLARE_DYNAMIC_CLASS(wxPrinter)
1b88201f 24
83df96d6
JS
25public:
26 wxPrinter(wxPrintData *data = NULL);
d3c7fc99 27 virtual ~wxPrinter();
1b88201f 28
83df96d6
JS
29 virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE);
30 virtual bool PrintDialog(wxWindow *parent);
31 virtual bool Setup(wxWindow *parent);
32};
33
34/*
35* wxPrintPreview
36* Programmer creates an object of this class to preview a wxPrintout.
37*/
38
53a2db12 39class WXDLLIMPEXP_CORE wxPrintPreview: public wxPrintPreviewBase
83df96d6
JS
40{
41 DECLARE_CLASS(wxPrintPreview)
1b88201f 42
83df96d6
JS
43public:
44 wxPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
d3c7fc99 45 virtual ~wxPrintPreview();
1b88201f 46
83df96d6
JS
47 virtual bool Print(bool interactive);
48 virtual void DetermineScaling();
49};
50
51#endif
1b88201f 52 // _WX_PRINT_H_