X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index f5ceaedb26..240817cfe2 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -39,14 +39,14 @@ protected: virtual bool OnOpen(const wxString &strBufferName, wxTextBufferOpenMode OpenMode); virtual bool OnClose(); - virtual bool OnRead(wxMBConv& conv); - virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv); + virtual bool OnRead(const wxMBConv& conv); + virtual bool OnWrite(wxTextFileType typeNew, const wxMBConv& conv); private: wxFile m_file; - DECLARE_NO_COPY_CLASS(wxTextFile) + wxDECLARE_NO_COPY_CLASS(wxTextFile); }; #else // !wxUSE_TEXTFILE