]> git.saurik.com Git - wxWidgets.git/commitdiff
Make SaveFile and LoadFile virtual so they can be overridden
authorJulian Smart <julian@anthemion.co.uk>
Thu, 11 Oct 2007 19:56:38 +0000 (19:56 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 11 Oct 2007 19:56:38 +0000 (19:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextbuffer.h

index b956071da7170eb65eae56f50c4f3e5dfaaddbb5..6752005ad78a9612245bbd02817704bad275c7ef 100644 (file)
@@ -1762,8 +1762,8 @@ public:
 #endif
 
 #if wxUSE_FFILE && wxUSE_STREAMS
-    bool LoadFile(wxRichTextBuffer *buffer, const wxString& filename);
-    bool SaveFile(wxRichTextBuffer *buffer, const wxString& filename);
+    virtual bool LoadFile(wxRichTextBuffer *buffer, const wxString& filename);
+    virtual bool SaveFile(wxRichTextBuffer *buffer, const wxString& filename);
 #endif // wxUSE_STREAMS && wxUSE_STREAMS
 
     /// Can we handle this filename (if using files)? By default, checks the extension.