]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/printdlg.cpp
non-PCH build fix (according to Tinderbox).
[wxWidgets.git] / src / palmos / printdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/printdlg.cpp
3 // Purpose: wxPrintDialog, wxPageSetupDialog
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // ===========================================================================
13 // declarations
14 // ===========================================================================
15
16 // ---------------------------------------------------------------------------
17 // headers
18 // ---------------------------------------------------------------------------
19
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"
33 #include "wx/dcprint.h"
34 #endif
35
36 #include "wx/printdlg.h"
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
55 wxPrintDialog::wxPrintDialog()
56 {
57 }
58
59 wxPrintDialog::wxPrintDialog(wxWindow *p, wxPrintDialogData* data)
60 {
61 }
62
63 wxPrintDialog::wxPrintDialog(wxWindow *p, wxPrintData* data)
64 {
65 }
66
67 bool wxPrintDialog::Create(wxWindow *p, wxPrintDialogData* data)
68 {
69 return false;
70 }
71
72 wxPrintDialog::~wxPrintDialog()
73 {
74 }
75
76 int wxPrintDialog::ShowModal()
77 {
78 return wxID_CANCEL;
79 }
80
81 wxDC *wxPrintDialog::GetPrintDC()
82 {
83 return (wxDC*) NULL;
84 }
85
86 // ---------------------------------------------------------------------------
87 // wxPageSetupDialog
88 // ---------------------------------------------------------------------------
89
90 wxPageSetupDialog::wxPageSetupDialog()
91 {
92 }
93
94 wxPageSetupDialog::wxPageSetupDialog(wxWindow *p, wxPageSetupData *data)
95 {
96 }
97
98 bool wxPageSetupDialog::Create(wxWindow *p, wxPageSetupData *data)
99 {
100 return false;
101 }
102
103 wxPageSetupDialog::~wxPageSetupDialog()
104 {
105 }
106
107 int wxPageSetupDialog::ShowModal()
108 {
109 return wxID_CANCEL;
110 }
111
112 #endif
113 // wxUSE_PRINTING_ARCHITECTURE