Committed William Osborne's wxPalmOS port

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-10-19 13:40:30 +00:00
parent 698b34facd
commit ffecfa5aeb
260 changed files with 40716 additions and 44 deletions

117
src/palmos/printdlg.cpp Normal file
View File

@@ -0,0 +1,117 @@
/////////////////////////////////////////////////////////////////////////////
// Name: printdlg.cpp
// Purpose: wxPrintDialog, wxPageSetupDialog
// Author: William Osborne
// Modified by:
// Created: 10/13/04
// RCS-ID: $Id:
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ===========================================================================
// declarations
// ===========================================================================
// ---------------------------------------------------------------------------
// headers
// ---------------------------------------------------------------------------
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "printdlg.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
// Don't use the Windows print dialog if we're in wxUniv mode and using
// the PostScript architecture
#if wxUSE_PRINTING_ARCHITECTURE && (!defined(__WXUNIVERSAL__) || !wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
#ifndef WX_PRECOMP
#include "wx/app.h"
#endif
#include "wx/printdlg.h"
#include "wx/dcprint.h"
#include "wx/palmos/private.h"
// ---------------------------------------------------------------------------
// wxWin macros
// ---------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxPrintDialog, wxDialog)
IMPLEMENT_CLASS(wxPageSetupDialog, wxDialog)
// ===========================================================================
// implementation
// ===========================================================================
// ---------------------------------------------------------------------------
// wxPrintDialog
// ---------------------------------------------------------------------------
wxPrintDialog::wxPrintDialog()
{
}
wxPrintDialog::wxPrintDialog(wxWindow *p, wxPrintDialogData* data)
{
}
wxPrintDialog::wxPrintDialog(wxWindow *p, wxPrintData* data)
{
}
bool wxPrintDialog::Create(wxWindow *p, wxPrintDialogData* data)
{
return false;
}
wxPrintDialog::~wxPrintDialog()
{
}
int wxPrintDialog::ShowModal()
{
return wxID_CANCEL;
}
wxDC *wxPrintDialog::GetPrintDC()
{
return (wxDC*) NULL;
}
// ---------------------------------------------------------------------------
// wxPageSetupDialog
// ---------------------------------------------------------------------------
wxPageSetupDialog::wxPageSetupDialog()
{
}
wxPageSetupDialog::wxPageSetupDialog(wxWindow *p, wxPageSetupData *data)
{
}
bool wxPageSetupDialog::Create(wxWindow *p, wxPageSetupData *data)
{
return false;
}
wxPageSetupDialog::~wxPageSetupDialog()
{
}
int wxPageSetupDialog::ShowModal()
{
return wxID_CANCEL;
}
#endif
// wxUSE_PRINTING_ARCHITECTURE