X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3a584a7a6ade199990dd4463488e4bbf3545349..1338c59a025505bc066be220fe56e898a72b3ad3:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index 477a023b01..693bd37d96 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -8,22 +8,23 @@ // Created: 03.04.98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #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 @@ -43,7 +44,7 @@ protected: 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;