X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5267aefd85739afd26bd19bfba998005119db446..97d13342cc2ac77e21c38115cc6ebecac930f92a:/interface/wx/richtext/richtexthtml.h diff --git a/interface/wx/richtext/richtexthtml.h b/interface/wx/richtext/richtexthtml.h index c266e6b13e..fba16366be 100644 --- a/interface/wx/richtext/richtexthtml.h +++ b/interface/wx/richtext/richtexthtml.h @@ -60,8 +60,8 @@ public: /** Constructor. */ - wxRichTextHTMLHandler(const wxString& name = wxT("HTML"), - const wxString& ext = wxT("html"), + wxRichTextHTMLHandler(const wxString& name = "HTML", + const wxString& ext = "html", int type = wxRICHTEXT_TYPE_HTML); /** @@ -82,11 +82,6 @@ public: static bool DeleteTemporaryImages(int flags, const wxArrayString& imageLocations); - /** - Saves the buffer content to the HTML stream. - */ - virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream); - /** Returns the mapping for converting point sizes to HTML font sizes. */ @@ -139,5 +134,11 @@ public: Sets the list of image locations generated by the last operation. */ void SetTemporaryImageLocations(const wxArrayString& locations); + +protected: + /** + Saves the buffer content to the HTML stream. + */ + virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream); };