]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/printdlg.cpp
Headers cleaning.
[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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "printdlg.h"
22 #endif
23
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
26
27 #ifdef __BORLANDC__
28 #pragma hdrstop
29 #endif
30
31 // Don't use the Windows print dialog if we're in wxUniv mode and using
32 // the PostScript architecture
33 #if wxUSE_PRINTING_ARCHITECTURE && (!defined(__WXUNIVERSAL__) || !wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
34
35 #ifndef WX_PRECOMP
36 #include "wx/app.h"
37 #endif
38
39 #include "wx/printdlg.h"
40 #include "wx/dcprint.h"
41
42 #include "wx/palmos/private.h"
43
44 // ---------------------------------------------------------------------------
45 // wxWin macros
46 // ---------------------------------------------------------------------------
47
48 IMPLEMENT_DYNAMIC_CLASS(wxPrintDialog, wxDialog)
49 IMPLEMENT_CLASS(wxPageSetupDialog, wxDialog)
50
51 // ===========================================================================
52 // implementation
53 // ===========================================================================
54
55 // ---------------------------------------------------------------------------
56 // wxPrintDialog
57 // ---------------------------------------------------------------------------
58
59 wxPrintDialog::wxPrintDialog()
60 {
61 }
62
63 wxPrintDialog::wxPrintDialog(wxWindow *p, wxPrintDialogData* data)
64 {
65 }
66
67 wxPrintDialog::wxPrintDialog(wxWindow *p, wxPrintData* data)
68 {
69 }
70
71 bool wxPrintDialog::Create(wxWindow *p, wxPrintDialogData* data)
72 {
73 return false;
74 }
75
76 wxPrintDialog::~wxPrintDialog()
77 {
78 }
79
80 int wxPrintDialog::ShowModal()
81 {
82 return wxID_CANCEL;
83 }
84
85 wxDC *wxPrintDialog::GetPrintDC()
86 {
87 return (wxDC*) NULL;
88 }
89
90 // ---------------------------------------------------------------------------
91 // wxPageSetupDialog
92 // ---------------------------------------------------------------------------
93
94 wxPageSetupDialog::wxPageSetupDialog()
95 {
96 }
97
98 wxPageSetupDialog::wxPageSetupDialog(wxWindow *p, wxPageSetupData *data)
99 {
100 }
101
102 bool wxPageSetupDialog::Create(wxWindow *p, wxPageSetupData *data)
103 {
104 return false;
105 }
106
107 wxPageSetupDialog::~wxPageSetupDialog()
108 {
109 }
110
111 int wxPageSetupDialog::ShowModal()
112 {
113 return wxID_CANCEL;
114 }
115
116 #endif
117 // wxUSE_PRINTING_ARCHITECTURE