]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/richtext/richtextxml.h
wxToggleButton for wxUniv already implemented.
[wxWidgets.git] / include / wx / richtext / richtextxml.h
index ac8f29563ed47e7c69bee372b299c84ecddf07c5..f0cef5b266668b46ce3fc03de33ceaa1b2b0e2f5 100644 (file)
@@ -35,9 +35,6 @@ public:
         { }
 
 #if wxUSE_STREAMS
-    virtual bool DoLoadFile(wxRichTextBuffer *buffer, wxInputStream& stream);
-    virtual bool DoSaveFile(wxRichTextBuffer *buffer, wxOutputStream& stream);
-
     /// Recursively export an object
     bool ExportXML(wxOutputStream& stream, wxMBConv* convMem, wxMBConv* convFile, wxRichTextObject& obj, int level);
 
@@ -66,7 +63,10 @@ public:
     wxString GetText(wxXmlNode *node, const wxString& param = wxEmptyString, bool translate = false);
 
 protected:
-
+#if wxUSE_STREAMS
+    virtual bool DoLoadFile(wxRichTextBuffer *buffer, wxInputStream& stream);
+    virtual bool DoSaveFile(wxRichTextBuffer *buffer, wxOutputStream& stream);
+#endif
 };
 
 #endif