X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..a721fd82b7ca8c97048453d4aaff559e8f741d69:/include/wx/textfile.h?ds=sidebyside diff --git a/include/wx/textfile.h b/include/wx/textfile.h index a898f11543..588aedd24a 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -14,10 +14,6 @@ #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,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: