X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..9b49405777342458dc1666001865eef7309b6c30:/include/wx/memtext.h diff --git a/include/wx/memtext.h b/include/wx/memtext.h index aa2df7b637..475e8fdc23 100644 --- a/include/wx/memtext.h +++ b/include/wx/memtext.h @@ -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