]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/printdlg.cpp
ff0e8daf9992083ae8355a1d475293e553a42195
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/printdlg.cpp
3 // Purpose: wxPrintDialog, wxPageSetupDialog
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // ===========================================================================
14 // ===========================================================================
16 // ---------------------------------------------------------------------------
18 // ---------------------------------------------------------------------------
20 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "printdlg.h"
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
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)
39 #include "wx/printdlg.h"
40 #include "wx/dcprint.h"
42 #include "wx/palmos/private.h"
44 // ---------------------------------------------------------------------------
46 // ---------------------------------------------------------------------------
48 IMPLEMENT_DYNAMIC_CLASS(wxPrintDialog
, wxDialog
)
49 IMPLEMENT_CLASS(wxPageSetupDialog
, wxDialog
)
51 // ===========================================================================
53 // ===========================================================================
55 // ---------------------------------------------------------------------------
57 // ---------------------------------------------------------------------------
59 wxPrintDialog::wxPrintDialog()
63 wxPrintDialog::wxPrintDialog(wxWindow
*p
, wxPrintDialogData
* data
)
67 wxPrintDialog::wxPrintDialog(wxWindow
*p
, wxPrintData
* data
)
71 bool wxPrintDialog::Create(wxWindow
*p
, wxPrintDialogData
* data
)
76 wxPrintDialog::~wxPrintDialog()
80 int wxPrintDialog::ShowModal()
85 wxDC
*wxPrintDialog::GetPrintDC()
90 // ---------------------------------------------------------------------------
92 // ---------------------------------------------------------------------------
94 wxPageSetupDialog::wxPageSetupDialog()
98 wxPageSetupDialog::wxPageSetupDialog(wxWindow
*p
, wxPageSetupData
*data
)
102 bool wxPageSetupDialog::Create(wxWindow
*p
, wxPageSetupData
*data
)
107 wxPageSetupDialog::~wxPageSetupDialog()
111 int wxPageSetupDialog::ShowModal()
117 // wxUSE_PRINTING_ARCHITECTURE