X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e58471c77f2f1582f4f31408006b88527dc46b49..71a09c3579dd5cb4cd8fa7fdc143561cbff74e12:/src/richtext/richtextprint.cpp diff --git a/src/richtext/richtextprint.cpp b/src/richtext/richtextprint.cpp index 59c331d02f..837d3b0c58 100644 --- a/src/richtext/richtextprint.cpp +++ b/src/richtext/richtextprint.cpp @@ -3,7 +3,6 @@ // Purpose: Rich text printing classes // Author: Julian Smart // Created: 2006-10-24 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -506,6 +505,7 @@ void wxRichTextPrinting::SetRichTextBufferPreview(wxRichTextBuffer* buf) m_richTextBufferPreview = buf; } +#if wxUSE_FFILE && wxUSE_STREAMS bool wxRichTextPrinting::PreviewFile(const wxString& richTextFile) { SetRichTextBufferPreview(new wxRichTextBuffer); @@ -525,6 +525,7 @@ bool wxRichTextPrinting::PreviewFile(const wxString& richTextFile) p2->SetRichTextBuffer(m_richTextBufferPrinting); return DoPreview(p1, p2); } +#endif // wxUSE_FFILE && wxUSE_STREAMS bool wxRichTextPrinting::PreviewBuffer(const wxRichTextBuffer& buffer) { @@ -540,6 +541,7 @@ bool wxRichTextPrinting::PreviewBuffer(const wxRichTextBuffer& buffer) return DoPreview(p1, p2); } +#if wxUSE_FFILE && wxUSE_STREAMS bool wxRichTextPrinting::PrintFile(const wxString& richTextFile, bool showPrintDialog) { SetRichTextBufferPrinting(new wxRichTextBuffer); @@ -557,6 +559,7 @@ bool wxRichTextPrinting::PrintFile(const wxString& richTextFile, bool showPrintD delete p; return ret; } +#endif // wxUSE_FFILE && wxUSE_STREAMS bool wxRichTextPrinting::PrintBuffer(const wxRichTextBuffer& buffer, bool showPrintDialog) {