]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textfile.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / textfile.h
index f5ceaedb26c3b88fe65b7369c69623e6208bddee..240817cfe289e72e92d6ada3dedbe3334019ba63 100644 (file)
@@ -39,14 +39,14 @@ protected:
     virtual bool OnOpen(const wxString &strBufferName,
                         wxTextBufferOpenMode OpenMode);
     virtual bool OnClose();
-    virtual bool OnRead(wxMBConv& conv);
-    virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv);
+    virtual bool OnRead(const wxMBConv& conv);
+    virtual bool OnWrite(wxTextFileType typeNew, const wxMBConv& conv);
 
 private:
 
     wxFile m_file;
 
-    DECLARE_NO_COPY_CLASS(wxTextFile)
+    wxDECLARE_NO_COPY_CLASS(wxTextFile);
 };
 
 #else // !wxUSE_TEXTFILE