]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/richtext/richtextbuffer.h
fixed the anchor names for @section used in interface headers; documented the general...
[wxWidgets.git] / interface / wx / richtext / richtextbuffer.h
index 5eeda8adc7d35f19f410bae44a2ec9468bb5fe32..f86e30529a732519652728d35c6905b50087ad24 100644 (file)
@@ -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;
 };