From a9b9495bc05d543a1e9d1e263bf3fea432eac1b8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 24 May 2007 10:59:56 +0000 Subject: [PATCH] put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/richtext/richtextbuffer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/richtext/richtextbuffer.h b/include/wx/richtext/richtextbuffer.h index 2889221481..8aa5c2136a 100644 --- a/include/wx/richtext/richtextbuffer.h +++ b/include/wx/richtext/richtextbuffer.h @@ -2131,8 +2131,10 @@ public: { return DoSaveFile(buffer, stream); } #endif +#if wxUSE_FFILE && wxUSE_STREAMS bool LoadFile(wxRichTextBuffer *buffer, const wxString& filename); 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. virtual bool CanHandle(const wxString& filename) const;