X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0004982c831f56c65c390fb617711ff52595c2f3..c86b476dd540ac302ad023dc864c7c7d4f9ed823:/interface/wx/richtext/richtextxml.h diff --git a/interface/wx/richtext/richtextxml.h b/interface/wx/richtext/richtextxml.h index 309a5e0142..74fc2a2bc4 100644 --- a/interface/wx/richtext/richtextxml.h +++ b/interface/wx/richtext/richtextxml.h @@ -54,16 +54,6 @@ public: */ wxString CreateStyle(const wxTextAttr& attr, bool isPara = false); - /** - Loads buffer context from the given stream. - */ - virtual bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream); - - /** - Saves buffer context to the given stream. - */ - virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream); - /** Recursively exports an object to the stream. */ @@ -109,5 +99,17 @@ public: Recursively imports an object. */ bool ImportXML(wxRichTextBuffer* buffer, wxXmlNode* node); + +protected: + + /** + Loads buffer context from the given stream. + */ + virtual bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream); + + /** + Saves buffer context to the given stream. + */ + virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream); };