]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/memtext.h
Fix missing documentation for several GDI functions.
[wxWidgets.git] / include / wx / memtext.h
index aa2df7b63756336a77163e70144ff756524dc6e1..475e8fdc23ff5c355cfbdd61f62be8229ea0d9c7 100644 (file)
@@ -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