X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/830f8f11bca5c0892ae767ba14790c8b5b59011f..be19c556083cc197be55acbd05db76ec6dc2e0c4:/include/wx/memtext.h diff --git a/include/wx/memtext.h b/include/wx/memtext.h index a093f40b04..475e8fdc23 100644 --- a/include/wx/memtext.h +++ b/include/wx/memtext.h @@ -41,11 +41,11 @@ protected: { return true; } virtual bool OnWrite(wxTextFileType WXUNUSED(typeNew), - const 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