From fe8b03618ae0a511bf76e85565b3d43b68e99cd5 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 11 Oct 2007 19:56:38 +0000 Subject: [PATCH] Make SaveFile and LoadFile virtual so they can be overridden git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/richtext/richtextbuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/richtext/richtextbuffer.h b/include/wx/richtext/richtextbuffer.h index b956071da7..6752005ad7 100644 --- a/include/wx/richtext/richtextbuffer.h +++ b/include/wx/richtext/richtextbuffer.h @@ -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. -- 2.45.2