]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/richtext/richtextprint.h
Fix a typo in wxNumberFormatter styles documentation.
[wxWidgets.git] / interface / wx / richtext / richtextprint.h
index 9a6c185c8ce8bb7ab26dd1ca2f0f1b8fad8cdb5d..5a756e5028d75bdf13823a51708e4de39c26c842 100644 (file)
@@ -341,14 +341,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.