X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0004982c831f56c65c390fb617711ff52595c2f3..3a74a290a9fcfafd93fd1a23e6857ad60836cb9d:/interface/wx/richtext/richtextbuffer.h?ds=sidebyside diff --git a/interface/wx/richtext/richtextbuffer.h b/interface/wx/richtext/richtextbuffer.h index 5eeda8adc7..f86e30529a 100644 --- a/interface/wx/richtext/richtextbuffer.h +++ b/interface/wx/richtext/richtextbuffer.h @@ -949,16 +949,6 @@ public: */ virtual bool CanSave() const; - /** - Override to load content from @a stream into @a buffer. - */ - bool DoLoadFile(wxRichTextBuffer* buffer, wxInputStream& stream); - - /** - Override to save content to @a stream from @a buffer. - */ - bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream); - /** Returns the encoding associated with the handler (if any). */ @@ -1048,6 +1038,19 @@ public: load and save dialogs). */ virtual void SetVisible(bool visible); + +protected: + /** + Override to load content from @a stream into @a buffer. + */ + virtual bool DoLoadFile(wxRichTextBuffer* buffer, + wxInputStream& stream) = 0; + + /** + Override to save content to @a stream from @a buffer. + */ + virtual bool DoSaveFile(wxRichTextBuffer* buffer, + wxOutputStream& stream) = 0; };