X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d63819e045d0ed384407931274b6e09bf92b5c12..e450aa692b887adbae4350896f6c90ec8e1368e3:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index 01fe351f28..cace95502d 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -8,13 +8,13 @@ // 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 @@ -30,7 +30,7 @@ // wxTextFile // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxTextFile : public wxTextBuffer +class WXDLLIMPEXP_BASE wxTextFile : public wxTextBuffer { public: // constructors @@ -44,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;