]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textfile.h
Fix up NSSlider code to not use class posing and instantiate the proper type (now...
[wxWidgets.git] / include / wx / textfile.h
index 8481707a922743a6e0138d06fb9336e0e4362a76..588aedd24ae40a1d732c9f40f0454e277a5d167f 100644 (file)
 #ifndef _WX_TEXTFILE_H
 #define _WX_TEXTFILE_H
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-    #pragma interface "textfile.h"
-#endif
-
 #include "wx/defs.h"
 
 #include "wx/textbuf.h"
@@ -43,8 +39,8 @@ 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: