X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/textfile.h?ds=sidebyside 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