X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..eeea3b039ef9bf03c17f80ab911cf65f084731bd:/src/palmos/printpalm.cpp diff --git a/src/palmos/printpalm.cpp b/src/palmos/printpalm.cpp index 2051c02818..722ac5085d 100644 --- a/src/palmos/printpalm.cpp +++ b/src/palmos/printpalm.cpp @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: printpalm.cpp +// Name: src/palmos/printpalm.cpp // Purpose: wxPalmPrinter framework -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "printpalm.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -28,8 +24,6 @@ #pragma hdrstop #endif -#include "wx/defs.h" - // Don't use the Windows printer if we're in wxUniv mode and using // the PostScript architecture #if wxUSE_PRINTING_ARCHITECTURE && (!defined(__WXUNIVERSAL__) || !wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW) @@ -42,12 +36,12 @@ #include "wx/app.h" #include "wx/msgdlg.h" #include "wx/intl.h" + #include "wx/log.h" + #include "wx/dcprint.h" #endif #include "wx/palmos/printpalm.h" -#include "wx/dcprint.h" #include "wx/printdlg.h" -#include "wx/log.h" #include "wx/palmos/private.h" // --------------------------------------------------------------------------- @@ -85,7 +79,7 @@ bool wxPalmPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt) wxDC* wxPalmPrinter::PrintDialog(wxWindow *parent) { - wxDC* dc = (wxDC*) NULL; + wxDC* dc = NULL; return dc; } @@ -124,6 +118,7 @@ bool wxPalmPrintPreview::Print(bool interactive) void wxPalmPrintPreview::DetermineScaling() { + // TODO } #endif