]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/printdlg.cpp
Add backend descriptions for all backends to the documentation.
[wxWidgets.git] / src / palmos / printdlg.cpp
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/printdlg.cpp
ffecfa5a 3// Purpose: wxPrintDialog, wxPageSetupDialog
e2731512 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e2731512 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// ===========================================================================
13// declarations
14// ===========================================================================
15
16// ---------------------------------------------------------------------------
17// headers
18// ---------------------------------------------------------------------------
19
ffecfa5a
JS
20// For compilers that support precompilation, includes "wx.h".
21#include "wx/wxprec.h"
22
23#ifdef __BORLANDC__
24 #pragma hdrstop
25#endif
26
27// Don't use the Windows print dialog if we're in wxUniv mode and using
28// the PostScript architecture
29#if wxUSE_PRINTING_ARCHITECTURE && (!defined(__WXUNIVERSAL__) || !wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
30
31#ifndef WX_PRECOMP
32 #include "wx/app.h"
6d50343d 33 #include "wx/dcprint.h"
ffecfa5a
JS
34#endif
35
36#include "wx/printdlg.h"
ffecfa5a
JS
37
38#include "wx/palmos/private.h"
39
40// ---------------------------------------------------------------------------
41// wxWin macros
42// ---------------------------------------------------------------------------
43
44 IMPLEMENT_DYNAMIC_CLASS(wxPrintDialog, wxDialog)
45 IMPLEMENT_CLASS(wxPageSetupDialog, wxDialog)
46
47// ===========================================================================
48// implementation
49// ===========================================================================
50
51// ---------------------------------------------------------------------------
52// wxPrintDialog
53// ---------------------------------------------------------------------------
54
55wxPrintDialog::wxPrintDialog()
56{
57}
58
59wxPrintDialog::wxPrintDialog(wxWindow *p, wxPrintDialogData* data)
60{
61}
62
63wxPrintDialog::wxPrintDialog(wxWindow *p, wxPrintData* data)
64{
65}
66
67bool wxPrintDialog::Create(wxWindow *p, wxPrintDialogData* data)
68{
69 return false;
70}
71
72wxPrintDialog::~wxPrintDialog()
73{
74}
75
76int wxPrintDialog::ShowModal()
77{
78 return wxID_CANCEL;
79}
80
81wxDC *wxPrintDialog::GetPrintDC()
82{
d3b9f782 83 return NULL;
ffecfa5a
JS
84}
85
86// ---------------------------------------------------------------------------
87// wxPageSetupDialog
88// ---------------------------------------------------------------------------
89
90wxPageSetupDialog::wxPageSetupDialog()
91{
92}
93
94wxPageSetupDialog::wxPageSetupDialog(wxWindow *p, wxPageSetupData *data)
95{
96}
97
98bool wxPageSetupDialog::Create(wxWindow *p, wxPageSetupData *data)
99{
100 return false;
101}
102
103wxPageSetupDialog::~wxPageSetupDialog()
104{
105}
106
107int wxPageSetupDialog::ShowModal()
108{
109 return wxID_CANCEL;
110}
111
112#endif
113 // wxUSE_PRINTING_ARCHITECTURE