]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/richtext/richtextprint.h
remove ancient defines left over from GTK1
[wxWidgets.git] / interface / wx / richtext / richtextprint.h
index 6344debdd4d875c5a298e063c901a27a7196617a..0f2199d6a2934f89d07dc6c966198cf461eb5147 100644 (file)
@@ -2,8 +2,7 @@
 // Name:        richtext/richtextprint.h
 // Purpose:     interface of wxRichTextHeaderFooterData
 // Author:      wxWidgets team
-// RCS-ID:      $Id$
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
@@ -341,14 +340,16 @@ public:
 
     /**
         Prints the given buffer. The function takes its own copy of @a buffer.
+        @showPrintDialog can be @true to show the print dialog, or @false to print quietly.
     */
-    bool PrintBuffer(const wxRichTextBuffer& buffer);
+    bool PrintBuffer(const wxRichTextBuffer& buffer, bool showPrintDialog = true);
 
     /**
         Prints the given file. @a richTextFile can be a text file or XML file,
-        or other file depending on the available file handlers.
+        or other file depending on the available file handlers. @showPrintDialog
+        can be @true to show the print dialog, or @false to print quietly.
     */
-    bool PrintFile(const wxString& richTextFile);
+    bool PrintFile(const wxString& richTextFile, bool showPrintDialog = true);
 
     /**
         A convenience function to set the footer text.