From 088f7a56b6d405e1901806bfd93b0931f3f12c03 Mon Sep 17 00:00:00 2001 From: Bryan Petty Date: Tue, 1 Dec 2009 20:21:46 +0000 Subject: [PATCH] Added wxHtmlEasyPrinting name accessor and modifier (only one wxHtmlEasyPrinting instance is supposed to be used for multiple printouts). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/html/htmprint.h | 7 +++++++ version-script.in | 2 ++ 2 files changed, 9 insertions(+) diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h index 116c8e9129..516a2f86cd 100644 --- a/include/wx/html/htmprint.h +++ b/include/wx/html/htmprint.h @@ -263,6 +263,13 @@ public: // set the parent window #endif +#if wxABI_VERSION >= 20811 + const wxString& GetName() const { return m_Name; } + // get the printout name + void SetName(const wxString& name) { m_Name = name; } + // set the printout name +#endif + protected: virtual wxHtmlPrintout *CreatePrintout(); virtual bool DoPreview(wxHtmlPrintout *printout1, wxHtmlPrintout *printout2); diff --git a/version-script.in b/version-script.in index 88d21a56cc..8d2d47bb43 100644 --- a/version-script.in +++ b/version-script.in @@ -32,6 +32,8 @@ *ConvertToIeeeExtended*; *wxDC*SetDeviceClippingRegion*; *wxGraphicsContext*GetCairoRenderer*; + *wxHtmlEasyPrinting*GetName*; + *wxHtmlEasyPrinting*SetName*; *wxIconizeEvent*IsIconized*; *wxMouseState*IsDown*; *wxRichTextCtrl*GetContextMenu*;