X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e32eea148dafadbdd0712377c1b5038406ffde5..d7b468788e860e7e39bb55bb921f757207b6f9fe:/include/wx/memtext.h?ds=sidebyside diff --git a/include/wx/memtext.h b/include/wx/memtext.h index 31e346ecbb..475e8fdc23 100644 --- a/include/wx/memtext.h +++ b/include/wx/memtext.h @@ -3,7 +3,7 @@ // Purpose: wxMemoryText allows to use wxTextBuffer without a file // Created: 14.11.01 // Author: Morten Hanssen -// Copyright: (c) 2001 wxWidgets team +// Copyright: (c) 2001 Morten Hanssen // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -37,15 +37,15 @@ protected: virtual bool OnClose() { return true; } - virtual bool OnRead(wxMBConv& WXUNUSED(conv)) + virtual bool OnRead(const wxMBConv& WXUNUSED(conv)) { return true; } virtual bool OnWrite(wxTextFileType WXUNUSED(typeNew), - wxMBConv& WXUNUSED(conv) = wxConvUTF8) + const wxMBConv& WXUNUSED(conv) = wxMBConvUTF8()) { return true; } private: - DECLARE_NO_COPY_CLASS(wxMemoryText) + wxDECLARE_NO_COPY_CLASS(wxMemoryText); }; #endif // wxUSE_TEXTBUFFER