X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1b18eba7fe703f9bd13c01741b852840fabe711..8ca1a013e4e699724040ff1f514dab3b4a11d3c9:/src/richtext/richtextprint.cpp?ds=sidebyside diff --git a/src/richtext/richtextprint.cpp b/src/richtext/richtextprint.cpp index 73876d11fe..5aa23ca70f 100644 --- a/src/richtext/richtextprint.cpp +++ b/src/richtext/richtextprint.cpp @@ -438,6 +438,17 @@ wxPrintData *wxRichTextPrinting::GetPrintData() return m_printData; } +/// Set print and page setup data +void wxRichTextPrinting::SetPrintData(const wxPrintData& printData) +{ + (*GetPrintData()) = printData; +} + +void wxRichTextPrinting::SetPageSetupData(const wxPageSetupData& pageSetupData) +{ + (*GetPageSetupData()) = pageSetupData; +} + /// Set the rich text buffer pointer, deleting the existing object if present void wxRichTextPrinting::SetRichTextBufferPrinting(wxRichTextBuffer* buf) {