#ifndef _WX_TEXTFILE_H
#define _WX_TEXTFILE_H
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "textfile.h"
#endif
#include "wx/defs.h"
+#include "wx/textbuf.h"
+
#if wxUSE_TEXTFILE
#include "wx/file.h"
-#include "wx/textbuf.h"
// ----------------------------------------------------------------------------
// wxTextFile
wxTextBufferOpenMode OpenMode);
virtual bool OnClose();
virtual bool OnRead(wxMBConv& conv);
- virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv = wxConvLibc);
+ virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv);
private:
wxFile m_file;