]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textfile.h
don't draw resize sash if it's dragged outside of managed frame
[wxWidgets.git] / include / wx / textfile.h
index 289b9de4e3746e20a02a4957a6744ccdfea44f31..240817cfe289e72e92d6ada3dedbe3334019ba63 100644 (file)
@@ -8,16 +8,12 @@
 // Created:     03.04.98
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_TEXTFILE_H
 #define _WX_TEXTFILE_H
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "textfile.h"
-#endif
-
 #include "wx/defs.h"
 
 #include "wx/textbuf.h"
@@ -43,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