X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..e3141a349e438c71338085ea2e713e716ca2c613:/include/wx/memtext.h?ds=sidebyside diff --git a/include/wx/memtext.h b/include/wx/memtext.h index aa2df7b637..a093f40b04 100644 --- a/include/wx/memtext.h +++ b/include/wx/memtext.h @@ -37,11 +37,11 @@ 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) = wxConvUTF8) { return true; } private: